this should be illegal

This commit is contained in:
rusefillc 2023-03-16 13:27:22 -04:00
parent a09d1bcbc4
commit 92c1b83ec3
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}