From d2f5f5c388f325c0b39e2174e76f913edd2dd499 Mon Sep 17 00:00:00 2001 From: "Martin D. Weinberg" Date: Fri, 20 Dec 2024 14:29:14 -0500 Subject: [PATCH] Make debug value static to prevent namespace and addressing issues --- include/fpetrap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fpetrap.h b/include/fpetrap.h index 797512fb5..fc511d041 100644 --- a/include/fpetrap.h +++ b/include/fpetrap.h @@ -16,7 +16,7 @@ #endif /// Global to hold error code -volatile int my_err; +static int my_err; /// Very lean error handler. Only good for setting a debugger breakpoint. static void my_fpu_handler(int err)