esp-vent-main: try formatter action
This commit is contained in:
parent
5cb79e5975
commit
8e08dccdb8
@ -36,16 +36,7 @@ int main(void) {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO: insert code here
|
while(1) {}
|
||||||
|
|
||||||
// Force the counter to be placed into memory
|
|
||||||
volatile static int i = 0 ;
|
|
||||||
// Enter an infinite loop, just incrementing a counter
|
|
||||||
while(1) {
|
|
||||||
i++ ;
|
|
||||||
// "Dummy" NOP to allow source level single
|
|
||||||
// stepping of tight while() loop
|
|
||||||
__asm volatile ("nop");
|
|
||||||
}
|
|
||||||
return 0 ;
|
return 0 ;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user