Skip to content

Commit

Permalink
Make debug value static to prevent namespace and addressing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin D. Weinberg committed Dec 20, 2024
1 parent 46a36df commit d2f5f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fpetrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d2f5f5c

Please sign in to comment.