view src/cs/drivers/drv_app/r2d/r2d_independance_layer.h @ 631:597869e59805

config: introduced new CONFIG_MCSI_MODEM preprocessor symbol All MCSI functionality was previously conditionalized on CONFIG_TARGET_FCMODEM (even earlier it was CONFIG_TARGET_FCDEV3B), but having a dedicated preprocessor symbol for this purpose (defined in targets/*.h as appropriate) makes it much easier to support different modem targets with MCSI enabled.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 04 Jan 2020 19:07:02 +0000
parents 945cf7f506b2
children
line wrap: on
line source

#ifndef __INDEPENDANCE_H_
#define __INDEPENDANCE_H_

#define R2D_FREE(p) rvf_free_buf((void*)(p))
#define R2D_MALLOC(id,t,s,p) rvf_get_buf(id, s, (T_RVF_BUFFER**)&p)
#endif