view src/cs/drivers/drv_app/r2d/r2d_independance_layer.h @ 279:1badec9097de

AT@RST: use dar_reset_system() instead of relying on a NULL pointer call in Power_OFF_Button()
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 07 Aug 2017 04:22:47 +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