update code to use writeN()

This commit is contained in:
hathach committed 2018-01-05 13:37:54 +07:00
1 parent 48cee0fa1d
commit b8912a4f24
4 files changed
+7 -7

No files matched your search

@@ -57,10 +57,10 @@ err_t BLEBas::begin(void)
bool BLEBas::write(uint8_t level)
{
return _battery.write(level) > 0;
return _battery.write8(level) > 0;
}
bool BLEBas::notify(uint8_t level)
{
return _battery.notify(level);
return _battery.notify8(level);
}