diff --git a/firmware/console/binary/serial_can.cpp b/firmware/console/binary/serial_can.cpp index c5b91c653f..eed614ba09 100644 --- a/firmware/console/binary/serial_can.cpp +++ b/firmware/console/binary/serial_can.cpp @@ -404,6 +404,9 @@ msg_t canStreamFlushTx(sysinterval_t timeout) { return state.streamFlushTx(timeout); } + // np uses in/out parameter approach. Yes ChibiOS does same but still evil! + // in entry: number of data frames to receive + // on exit the number of frames actually received msg_t canStreamReceiveTimeout(size_t *np, uint8_t *rxbuf, sysinterval_t timeout) { return state.streamReceiveTimeout(np, rxbuf, timeout); }