aboutsummaryrefslogtreecommitdiffstats
path: root/src/sched.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-01-27 21:15:33 -0500
committerKevin O'Connor <kevin@koconnor.net>2021-02-02 15:17:14 -0500
commit95eb00740b9582772d6e5584d2cee2085c49016f (patch)
tree119df70f274366ceebb4eda806fda62dca6e6bf7 /src/sched.h
parentc0371c94c899a86cfe63492ff9693fd3229f04e0 (diff)
downloadkutter-95eb00740b9582772d6e5584d2cee2085c49016f.tar.gz
kutter-95eb00740b9582772d6e5584d2cee2085c49016f.tar.xz
kutter-95eb00740b9582772d6e5584d2cee2085c49016f.zip
stm32: Avoid read+write modify instructions in can.c
Prefer explicitly setting the hardware registers and avoid using C read and modify instructions where possible. This avoids race conditions where an interrupt or hardware change could cause subtle corruption of the register state. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sched.h')
0 files changed, 0 insertions, 0 deletions