Lizzy project
Dependencies: aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT
Revision 28:0cc8a58195cb, committed 2019-01-31
- Comitter:
- dbartolovic
- Date:
- Thu Jan 31 09:45:57 2019 +0000
- Branch:
- master
- Parent:
- 27:724dc5ed4883
- Child:
- 29:b021b33cf666
- Commit message:
- Fixed few compile errors
Changed in this revision
| aconno_ble/aconno_ble.cpp | Show annotated file Show diff for this revision Revisions of this file |
| config/proj_config.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/aconno_ble/aconno_ble.cpp Thu Sep 20 13:24:15 2018 +0000
+++ b/aconno_ble/aconno_ble.cpp Thu Jan 31 09:45:57 2019 +0000
@@ -59,17 +59,17 @@
#if VODAFONE_COMPATIBILITY == 1
#else
if ((uint8_t)true < *(params->data))
- lizzy_service->setBuzzState(true);
+ lizzy_service->setBuzz(true);
#endif
updateBuzzLedsT.signal_set(UPDATE_BUZZ_LEDS);
}
#if VODAFONE_COMPATIBILITY == 1
#else
- else if ((params->handle == lizzy_service->getRedHandle()) &&
+ else if ((params->handle == lizzy_service->getRedLedHandle()) &&
(params->len == 1))
{
if ((uint8_t)true < *(params->data))
- lizzy_service->set_red_state(true);
+ lizzy_service->setRedLed(true);
updateBuzzLedsT.signal_set(UPDATE_BUZZ_LEDS);
}
--- a/config/proj_config.h Thu Sep 20 13:24:15 2018 +0000 +++ b/config/proj_config.h Thu Jan 31 09:45:57 2019 +0000 @@ -7,7 +7,7 @@ #define DEBUG_LED (0) #define NANO_MODULE (0) #define NORMAL_AXIS (1) -#define VODAFONE_COMPATIBILITY (1) +#define VODAFONE_COMPATIBILITY (0) #define TEST_LEDS_BUZZ (0) #define ADV_INTERVAL_MS (100) @@ -17,7 +17,7 @@ #define LONG_SLEEP_S (300) -#define INT1_THRESHOLD (16) +#define INT1_THRESHOLD (18) #define INT1_DUR (5) #define ACC_ODR_MODE (ODR_25Hz)

