Changeset 31e15be in mainline for kernel/generic/src/lib/halt.c
- Timestamp:
- 2021-08-04T15:18:08Z (3 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 98a935e
- Parents:
- de38873
- git-author:
- Dmitry Selyutin <ghostmansd@…> (2020-12-23 21:59:08)
- git-committer:
- jxsvoboda <5887334+jxsvoboda@…> (2021-08-04 15:18:08)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/lib/halt.c
rde38873 r31e15be 36 36 */ 37 37 38 #include <stdbool.h> 38 39 #include <halt.h> 39 40 #include <log.h> … … 44 45 45 46 /** Halt flag */ 46 atomic_ t haltstate = 0;47 atomic_bool haltstate = false; 47 48 48 49 /** Halt wrapper … … 57 58 58 59 if (!atomic_load(&haltstate)) { 59 atomic_store(&haltstate, 1);60 atomic_store(&haltstate, true); 60 61 rundebugger = true; 61 62 } 62 63 #else 63 atomic_store(&haltstate, 1);64 atomic_store(&haltstate, true); 64 65 #endif 65 66
Note:
See TracChangeset
for help on using the changeset viewer.