From 9dae672ac009d6dfe54b2d95e74c1529ff7c342d Mon Sep 17 00:00:00 2001 From: Donatien Garnier Date: Fri, 4 Jan 2019 09:54:14 +0000 Subject: [PATCH] Fixes for features/FEATURE_BLE/ble/services/EddystoneConfigService.h --- features/FEATURE_BLE/ble/services/EddystoneConfigService.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/features/FEATURE_BLE/ble/services/EddystoneConfigService.h b/features/FEATURE_BLE/ble/services/EddystoneConfigService.h index e7cb9c01ac..99bed208b1 100644 --- a/features/FEATURE_BLE/ble/services/EddystoneConfigService.h +++ b/features/FEATURE_BLE/ble/services/EddystoneConfigService.h @@ -21,6 +21,8 @@ #include "ble/BLE.h" #include "ble/services/EddystoneService.h" +#include "Timer.h" +#include "Ticker.h" #define UUID_URI_BEACON(FIRST, SECOND) { \ 0xee, 0x0c, FIRST, SECOND, 0x87, 0x86, 0x40, 0xba, \ @@ -496,8 +498,8 @@ private: BLEDevice &ble; Params_t ¶ms; - Ticker timeSinceBootTick; - Timeout switchFrame; + mbed::Ticker timeSinceBootTick; + mbed::Timeout switchFrame; // Default value that is restored on reset. PowerLevels_t &defaultAdvPowerLevels; // This goes into the advertising frames (radio power measured at 1m from device). PowerLevels_t &radioPowerLevels; // This configures the power levels of the radio.