change NRF_SUCCESS to ERROR_NONE

This commit is contained in:
hathach committed 2017-01-21 01:19:58 +07:00
1 parent 5042dbc00d
commit ce76cc5405
11 files changed
+30 -26

No files matched your search

@@ -101,7 +101,7 @@ err_t BLEUart::start(void)
VERIFY_STATUS(_rxd.start());
return NRF_SUCCESS;
return ERROR_NONE;
}
int BLEUart::read (void)
@@ -122,7 +122,7 @@ size_t BLEUart::write (uint8_t b)
size_t BLEUart::write (const uint8_t *content, size_t len)
{
return (_txd.notify(content, len) == NRF_SUCCESS) ? len : 0;
return (_txd.notify(content, len) == ERROR_NONE) ? len : 0;
}
int BLEUart::available (void)