git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@42 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
cb5757e032
commit
e313c04627
|
@ -25,10 +25,10 @@ void chSysPause(void) {
|
|||
|
||||
asm volatile (
|
||||
"ldi r18, 1 \n\t" // SE bit
|
||||
"out 0x33, r18 \n" // SMCR
|
||||
"out 0x33, r18" // SMCR
|
||||
);
|
||||
while (TRUE) {
|
||||
asm volatile ("sleep\n\t");
|
||||
asm volatile ("sleep");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue