BLE test
Fork of X_NUCLEO_IDB0XA1 by
Diff: x-nucleo-idb0xa1/utils/Utils.h
- Revision:
- 226:be2f4e1d0515
- Parent:
- 144:bdf5e8432131
- Child:
- 242:058b2e731adc
diff -r 719cd18d73a6 -r be2f4e1d0515 x-nucleo-idb0xa1/utils/Utils.h --- a/x-nucleo-idb0xa1/utils/Utils.h Tue Apr 26 14:30:17 2016 +0200 +++ b/x-nucleo-idb0xa1/utils/Utils.h Tue Apr 26 14:32:13 2016 +0200 @@ -20,6 +20,7 @@ #ifndef __UTIL_H__ #define __UTIL_H__ +#include "ble_status.h" #include "hal_types.h" #include "mbed-drivers/mbed.h" @@ -40,7 +41,7 @@ }while(0) -double getHighPowerAndPALevelValue(int8_t dBMLevel, int8_t& EN_HIGH_POWER, int8_t& PA_LEVEL); +tBleStatus getHighPowerAndPALevelValue(int8_t dBMLevel, int8_t& EN_HIGH_POWER, int8_t& PA_LEVEL); #endif // __UTIL_H__