better start file
removed unnecessary line from tmr-int test
This commit is contained in:
parent
9b05f05503
commit
a00b9f7bd0
2 changed files with 82 additions and 53 deletions
|
@ -60,12 +60,6 @@ void main(void) {
|
|||
|
||||
enable_tmr_irq();
|
||||
|
||||
/* go into user mode to handle IRQs */
|
||||
/* disabling interrupts is now difficult */
|
||||
asm(".code 32;"
|
||||
"msr cpsr_c,#(0x10);"
|
||||
".code 16; ");
|
||||
|
||||
while(1) {
|
||||
/* sit here and let the interrupts do the work */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue