diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-01-27 21:58:04 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-02-02 15:17:14 -0500 |
commit | 95adff74311f501ee2f78b382120ce248109ed04 (patch) | |
tree | e9c6dcf1bc19571d52af11e66397350a96a642a1 /src/spi_software.c | |
parent | 95eb00740b9582772d6e5584d2cee2085c49016f (diff) | |
download | kutter-95adff74311f501ee2f78b382120ce248109ed04.tar.gz kutter-95adff74311f501ee2f78b382120ce248109ed04.tar.xz kutter-95adff74311f501ee2f78b382120ce248109ed04.zip |
stm32: Use CAN_TSR_CODE to select next tx fifo in can.c
The spec states that the TX fifo is transmitted in chronological order
if the TXFP bit is set, but it's unclear if the software needs to fill
the tx fifo in a particular order to obtain that result. Use the TSR
CODE bit field to fill the TX fifo in the order that the hardware
reports as next.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/spi_software.c')
0 files changed, 0 insertions, 0 deletions