Skip to content

Commit e1cc455

Browse files
author
Cruz Monrreal
authored
Merge pull request #6748 from andrewleech/nrf52_serial_match_assert
nrf5x: Fix assert test on SERIAL_RESERVED_CHAR_MATCH
2 parents 4ca512d + 627d028 commit e1cc455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/serial_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,7 @@ void serial_rx_asynch(serial_t *obj, void *rx, size_t rx_length, uint8_t rx_widt
16971697
MBED_ASSERT(obj);
16981698
MBED_ASSERT(rx_width == 8);
16991699
MBED_ASSERT(rx_length < 256);
1700-
MBED_ASSERT(char_match == SERIAL_RESERVED_CHAR_MATCH);
1700+
MBED_ASSERT(char_match == SERIAL_RESERVED_CHAR_MATCH); // EasyDMA based UART handling does not support char_match
17011701

17021702
int instance = obj->serial.instance;
17031703

0 commit comments

Comments
 (0)