Made variable written by interrupt handler 'volatile'.
This commit is contained in:
parent
75017f5011
commit
e8d4b836c5
|
@ -30,7 +30,7 @@ SOFTWARE.
|
|||
|
||||
extern const __attribute__((aligned(4))) uint8_t firmware[];
|
||||
|
||||
static bool active;
|
||||
static volatile bool active;
|
||||
|
||||
static void __time_critical_func(reset)(bool asserted) {
|
||||
if (asserted) {
|
||||
|
|
Loading…
Reference in New Issue