![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
ADISense1000 Version 2.1 code base
Fork of AdiSense1000_V21 by
Diff: src/mbed/adi_sense_gpio.cpp
- Branch:
- v2.0
- Revision:
- 30:119ff4f3aef6
- Parent:
- 27:567abf893938
diff -r 57edca10d78c -r 119ff4f3aef6 src/mbed/adi_sense_gpio.cpp --- a/src/mbed/adi_sense_gpio.cpp Tue May 22 13:45:24 2018 +0100 +++ b/src/mbed/adi_sense_gpio.cpp Tue Jun 12 21:27:34 2018 +0100 @@ -64,11 +64,11 @@ ADI_SENSE_RESULT get( ADI_SENSE_GPIO_PIN ePinId, - bool_t *pState); + bool *pState); ADI_SENSE_RESULT set( ADI_SENSE_GPIO_PIN ePinId, - bool_t state); + bool state); ADI_SENSE_RESULT enableIrq( ADI_SENSE_GPIO_PIN ePinId, @@ -113,7 +113,7 @@ ADI_SENSE_RESULT GpioContext::get( ADI_SENSE_GPIO_PIN ePinId, - bool_t *pState) + bool *pState) { switch(ePinId) { @@ -136,7 +136,7 @@ ADI_SENSE_RESULT GpioContext::set( ADI_SENSE_GPIO_PIN ePinId, - bool_t state) + bool state) { switch(ePinId) { @@ -227,7 +227,7 @@ ADI_SENSE_RESULT adi_sense_GpioGet( ADI_SENSE_GPIO_HANDLE hDevice, ADI_SENSE_GPIO_PIN ePinId, - bool_t *pbState) + bool *pbState) { GpioContext *pCtx = reinterpret_cast<GpioContext *>(hDevice); @@ -240,7 +240,7 @@ ADI_SENSE_RESULT adi_sense_GpioSet( ADI_SENSE_GPIO_HANDLE hDevice, ADI_SENSE_GPIO_PIN ePinId, - bool_t bState) + bool bState) { GpioContext *pCtx = reinterpret_cast<GpioContext *>(hDevice);