diff --git a/freeMemory.cpp b/freeMemory.cpp index 82ec436..6735ac1 100644 --- a/freeMemory.cpp +++ b/freeMemory.cpp @@ -31,7 +31,7 @@ extern char *__malloc_heap_start; #endif -static int minimum_free_memory = 32767; +static volatile int minimum_free_memory = 32767; int freeMemory() {