aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/stm32h7.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-06-10 14:13:39 -0400
committerKevin O'Connor <kevin@koconnor.net>2022-06-16 11:00:15 -0400
commit84d798f516c4a67f21d8c25e02157e79d5497cce (patch)
tree673e69e809b9a2cac4ecf9cd657925746a36a577 /src/stm32/stm32h7.c
parentda755c3c1b0288c6ea488a56be615b5878904fa6 (diff)
downloadkutter-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/stm32h7.c')
0 files changed, 0 insertions, 0 deletions