add Magnetic service, add default period for sensor services
This commit is contained in:
1 parent
74c91a8215
commit
0333b2adc2
13 files changed
+129
-10
No files matched your search
@@ -68,7 +68,7 @@ err_t BLEAdafruitLightSensor::begin (void)
|
||||
_measurement.setFixedLen(4);
|
||||
|
||||
// Invoke base class begin(), this will add Service, Measurement and Period characteristics
|
||||
VERIFY_STATUS( BLEAdafruitSensor::begin(1000) );
|
||||
VERIFY_STATUS( BLEAdafruitSensor::begin(DEFAULT_PERIOD) );
|
||||
|
||||
return ERROR_NONE;
|
||||
}
|
||||
Reference in new issue
Block a user