From 5166a681d840b8c201a549d75c08314e9288a563 Mon Sep 17 00:00:00 2001 From: 7marcus9 <7marcus9@local> Date: Sun, 4 Oct 2026 21:03:54 +0200 Subject: [PATCH] Fix bug --- peripherals/cc48x6/firmware/Src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peripherals/cc48x6/firmware/Src/main.c b/peripherals/cc48x6/firmware/Src/main.c index bde891a..da17ff0 100644 --- a/peripherals/cc48x6/firmware/Src/main.c +++ b/peripherals/cc48x6/firmware/Src/main.c @@ -65,7 +65,7 @@ const uint16_t version = 42; bool toggle = false; uint16_t counter = 0; -bool dirty = true; +volatile bool dirty = true; //uint16_t mem[12] = {0xFFF, 0xFF, 0xFFF, 0xFF, 0xFFF, 0xFF, 0xFFF, 0xFF, 0xFFF, 0xFF, 0xFFF, 0xFF}; //uint16_t mem[12] = {0x300, 0x40, 0x300, 0x40, 0x300, 0x40, 0x300, 0x40, 0x300, 0x40, 0x300, 0x40}; uint16_t mem[12] = {0xFFF, 0xFF, 0xFFF, 0xFF, 0xFFF, 0xFF, 0xFFF, 0xFF, 0xFFF, 0xFF, 0xFFF, 0xFF};