move BLEAdafruit service to its own library due to neopixel/dotstar dependency

This commit is contained in:
hathach committed 2019-11-18 20:43:17 +07:00
1 parent 583ad02a7d
commit 8b60180b45
14 files changed
+7 -1

No files matched your search

@@ -69,7 +69,7 @@ BLEAdafruitRgbPixel::BLEAdafruitRgbPixel(void)
}
err_t BLEAdafruitRgbPixel::begin (void)
err_t BLEAdafruitRgbPixel::begin (Adafruit_NeoPixel* neo_pixel)
{
// Invoke base class begin()
VERIFY_STATUS( BLEService::begin() );
@@ -151,5 +151,11 @@ void BLEAdafruitSensor::sensor_data_cccd_cb(uint16_t conn_hdl, BLECharacteristic
{
svc._timer.stop();
}
// send initial notification if period = 0
// if ( 0 == svc._period.read32() )
// {
// svc._measurement.notify();
// }
}