move BLEAdafruit service to its own library due to neopixel/dotstar dependency
This commit is contained in:
1 parent
583ad02a7d
commit
8b60180b45
14 files changed
+7
-1
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -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() );
|
||||
File renamed without changes.
+6
@@ -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();
|
||||
// }
|
||||
}
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user