nrf5x: Add description to assert on SERIAL_RESERVED_CHAR_MATCH

pull/6748/head
Andrew Leech 2018-04-26 13:35:53 +10:00
parent b033a6e42e
commit 627d028f3e
1 changed files with 1 additions and 1 deletions

View File

@ -1697,7 +1697,7 @@ void serial_rx_asynch(serial_t *obj, void *rx, size_t rx_length, uint8_t rx_widt
MBED_ASSERT(obj);
MBED_ASSERT(rx_width == 8);
MBED_ASSERT(rx_length < 256);
MBED_ASSERT(char_match == SERIAL_RESERVED_CHAR_MATCH);
MBED_ASSERT(char_match == SERIAL_RESERVED_CHAR_MATCH); // EasyDMA based UART handling does not support char_match
int instance = obj->serial.instance;