Personal fork of the library for direct control instead of library control
Dependents: Thesis_Rotating_Platform
Fork of X_NUCLEO_IHM01A1 by
Diff: Components/l6474/l6474_class.h
- Revision:
- 21:83138e702683
- Parent:
- 20:a8e81b65f0af
- Child:
- 22:ed3a6990a6eb
--- a/Components/l6474/l6474_class.h Fri Jan 15 16:42:39 2016 +0000 +++ b/Components/l6474/l6474_class.h Tue Jan 19 15:57:24 2016 +0000 @@ -150,7 +150,7 @@ */ virtual int Init(void *init = NULL) { - return (int) L6474_Init((L6474_InitTypeDef *) init); + return (int) L6474_Init((void *) init); } /** @@ -698,7 +698,7 @@ * DrvStatusTypeDef COMPONENT_ComputeAverage(void); //(3) * *------------------------------------------------------------------------*/ void L6474_AttachErrorHandler(void (*callback)(uint16_t error)); - DrvStatusTypeDef L6474_Init(L6474_InitTypeDef *init); + DrvStatusTypeDef L6474_Init(void *init); DrvStatusTypeDef L6474_ReadID(uint8_t *id); uint16_t L6474_GetAcceleration(void); uint16_t L6474_GetCurrentSpeed(void);