Made variable written by interrupt handler 'volatile'.

This commit is contained in:
Oliver Schmidt 2024-02-25 09:32:11 +01:00
parent 75017f5011
commit e8d4b836c5
1 changed files with 1 additions and 1 deletions

View File

@ -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) {