view src/cs/drivers/drv_app/r2d/r2d_independance_layer.h @ 532:5c780d080afc

armio.c GPIO directions for classic targets: more explicit conditionals for FC additions on FC and Openmoko targets
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 05 Nov 2018 06:59:57 +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