source: Tweaking settings.
This commit is contained in:
@@ -18,10 +18,6 @@
|
||||
|
||||
#include <cr_section_macros.h>
|
||||
|
||||
// TODO: insert other include files here
|
||||
|
||||
// TODO: insert other definitions and declarations here
|
||||
|
||||
int main(void) {
|
||||
|
||||
#if defined (__USE_LPCOPEN)
|
||||
@@ -36,15 +32,12 @@ int main(void) {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// TODO: insert code here
|
||||
|
||||
// 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 ;
|
||||
|
||||
Reference in New Issue
Block a user