arm7tdmi: examples: test_program: Add volatile to global
Former-commit-id: 7ac8cc7c0cb6e4bc98c875e9f915257ff6eceec0 Former-commit-id: 1c89600a2f4ddda36abd895bf40e2f9a7f3ea33c
This commit is contained in:
parent
85766bc499
commit
682074c402
|
@ -1,4 +1,4 @@
|
||||||
int breakpoint_count = 0;
|
volatile int breakpoint_count = 0;
|
||||||
volatile int breakpoint_on_me() {
|
volatile int breakpoint_on_me() {
|
||||||
breakpoint_count++;
|
breakpoint_count++;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue