Changes in kernel/generic/src/log/log.c [b1834a01:e90cfa6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/log/log.c
rb1834a01 re90cfa6 63 63 64 64 /** Kernel log initialized */ 65 static atomic_ t log_inited = { false };65 static atomic_bool log_inited = false; 66 66 67 67 /** Position in the cyclic buffer where the first log entry starts */ … … 94 94 { 95 95 event_set_unmask_callback(EVENT_KLOG, log_update); 96 atomic_s et(&log_inited, true);96 atomic_store(&log_inited, true); 97 97 } 98 98 … … 190 190 static void log_update(void *event) 191 191 { 192 if (!atomic_ get(&log_inited))192 if (!atomic_load(&log_inited)) 193 193 return; 194 194
Note:
See TracChangeset
for help on using the changeset viewer.