FreeCalypso > hg > fc-magnetite
view src/cs/drivers/drv_app/r2d/r2d_independance_layer.h @ 333:8a90038c0173
FCHG: store discharge state as threshold index rather than percentage
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 14 Dec 2017 18:35:16 +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