1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/can
Marian Buschsieweke 3b6fa61829
sys: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 20:28:11 +02:00
..
conn sys/can/conn: Fixup unused code 2020-02-07 13:35:25 +01:00
isotp sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00
device.c can_pm: if powered up by raw interface, fix sleeping timer. 2019-09-10 13:04:52 +02:00
dll.c can/pkt: free pkt on bus off error 2019-09-10 13:04:52 +02:00
Makefile makefile: indentation cleanup 2017-09-22 12:00:47 +02:00
pkt.c tests/can_conn: move static_assert into function 2019-10-19 17:23:21 +02:00
router.c can: use memarray for pkt and router allocation 2019-09-10 13:01:28 +02:00