diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2022-06-10 14:13:39 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2022-06-16 11:00:15 -0400 |
commit | 84d798f516c4a67f21d8c25e02157e79d5497cce (patch) | |
tree | 673e69e809b9a2cac4ecf9cd657925746a36a577 /src/stm32/stm32f0_timer.c | |
parent | da755c3c1b0288c6ea488a56be615b5878904fa6 (diff) | |
download | kutter-84d798f516c4a67f21d8c25e02157e79d5497cce.tar.gz kutter-84d798f516c4a67f21d8c25e02157e79d5497cce.tar.xz kutter-84d798f516c4a67f21d8c25e02157e79d5497cce.zip |
canbus: Use single method for reading canbus messages
Previously the code had canbus_read() which was called from task
context (for admin messages), and canbus_process_data() which was
called from irq context (used for data messages). Change that to a
single canbus_process_data() function that is called from irq context
(used for all messages). This simplifies the low-level hardware
specific canbus code and should make it easier to support other
hardware implementations.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/stm32f0_timer.c')
0 files changed, 0 insertions, 0 deletions