more return type change from err_t to bool

This commit is contained in:
hathach committed 2017-04-09 13:47:18 +07:00
1 parent 4d5a0e3587
commit dada11452e
10 files changed
+62 -68

No files matched your search

@@ -136,7 +136,7 @@ size_t BLEUart::write (uint8_t b)
size_t BLEUart::write (const uint8_t *content, size_t len)
{
return (_txd.notify(content, len) == ERROR_NONE) ? len : 0;
return _txd.notify(content, len) ? len : 0;
}
int BLEUart::available (void)