Lizzy project
Dependencies: aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT
Diff: aconno_ble/aconno_ble.cpp
- Branch:
- master
- Revision:
- 28:0cc8a58195cb
- Parent:
- 26:6101bb09f70d
--- 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);
}

