Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/log/log.c

    rb1834a01 re90cfa6  
    6363
    6464/** Kernel log initialized */
    65 static atomic_t log_inited = { false };
     65static atomic_bool log_inited = false;
    6666
    6767/** Position in the cyclic buffer where the first log entry starts */
     
    9494{
    9595        event_set_unmask_callback(EVENT_KLOG, log_update);
    96         atomic_set(&log_inited, true);
     96        atomic_store(&log_inited, true);
    9797}
    9898
     
    190190static void log_update(void *event)
    191191{
    192         if (!atomic_get(&log_inited))
     192        if (!atomic_load(&log_inited))
    193193                return;
    194194
Note: See TracChangeset for help on using the changeset viewer.