From 609d3d13de7911721380ecebb729e8649eb28bf5 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Mon, 8 Mar 2021 13:25:13 +0000 Subject: [PATCH] Mark minimum_free_memory volatile. --- freeMemory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {