house keeping
This commit is contained in:
1 parent
93014fa500
commit
2963e1dade
2 files changed
+6
-6
No files matched your search
@@ -54,12 +54,12 @@ err_t BLEBas::begin(void)
|
||||
return ERROR_NONE;
|
||||
}
|
||||
|
||||
void BLEBas::write(uint8_t level)
|
||||
bool BLEBas::write(uint8_t level)
|
||||
{
|
||||
_battery.write(level);
|
||||
return _battery.write(level) > 0;
|
||||
}
|
||||
|
||||
void BLEBas::notify(uint8_t level)
|
||||
bool BLEBas::notify(uint8_t level)
|
||||
{
|
||||
_battery.notify(level);
|
||||
return _battery.notify(level);
|
||||
}
|
||||
Reference in new issue
Block a user