house keeping

This commit is contained in:
hathach committed 2017-04-09 13:52:46 +07:00
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);
}