Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/lib/halt.c

    r31e15be r174156fd  
    3636 */
    3737
    38 #include <stdbool.h>
    3938#include <halt.h>
    4039#include <log.h>
     
    4544
    4645/** Halt flag */
    47 atomic_bool haltstate = false;
     46atomic_t haltstate = 0;
    4847
    4948/** Halt wrapper
     
    5857
    5958        if (!atomic_load(&haltstate)) {
    60                 atomic_store(&haltstate, true);
     59                atomic_store(&haltstate, 1);
    6160                rundebugger = true;
    6261        }
    6362#else
    64         atomic_store(&haltstate, true);
     63        atomic_store(&haltstate, 1);
    6564#endif
    6665
Note: See TracChangeset for help on using the changeset viewer.