add sound service
This commit is contained in:
1 parent
c7d9e2f389
commit
c1897410d4
6 files changed
+209
-28
No files matched your search
@@ -135,6 +135,9 @@ void BLEAdafruitSensor::_measure_handler(void)
|
||||
return; // nothing to measure
|
||||
}
|
||||
|
||||
// no data to notify
|
||||
if (!len) return;
|
||||
|
||||
// Period = 0, compare with old data, only update on changes
|
||||
if ( 0 == _period.read32() )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user