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

@@ -236,7 +236,7 @@ err_t BLEHidGeneric::begin(void)
return ERROR_NONE;
}
err_t BLEHidGeneric::inputReport(uint8_t reportID, void const* data, int len)
bool BLEHidGeneric::inputReport(uint8_t reportID, void const* data, int len)
{
// 0 will treated as report ID = 1
if ( reportID == 0 ) reportID++;