From 682074c402cf4c2ef58edf446bc06670f5cf4ba8 Mon Sep 17 00:00:00 2001 From: MichelOS Date: Thu, 8 Sep 2022 23:49:39 +0300 Subject: [PATCH] arm7tdmi: examples: test_program: Add volatile to global Former-commit-id: 7ac8cc7c0cb6e4bc98c875e9f915257ff6eceec0 Former-commit-id: 1c89600a2f4ddda36abd895bf40e2f9a7f3ea33c --- arm7tdmi/examples/test_program/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm7tdmi/examples/test_program/test.c b/arm7tdmi/examples/test_program/test.c index 1fdd624..e7c1025 100644 --- a/arm7tdmi/examples/test_program/test.c +++ b/arm7tdmi/examples/test_program/test.c @@ -1,4 +1,4 @@ -int breakpoint_count = 0; +volatile int breakpoint_count = 0; volatile int breakpoint_on_me() { breakpoint_count++; }