view src/cs/drivers/drv_app/r2d/r2d_independance_layer.h @ 148:c47e2dc10134

l1_pwmgr.c & l1_cust.c: sleep logic changes from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 06 Feb 2019 23:15:04 +0000
parents b6a5e36de839
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