I2C, register the handler in init

This commit is contained in:
Ørn E. Hansen
2013-04-18 19:43:00 +00:00
parent 29b5e93648
commit 62490ef2e6
2 changed files with 20 additions and 17 deletions

View File

@@ -59,7 +59,7 @@ register_handler(uint8_t priority, uint8_t intr, void (*func)())
// Return the saved priority level
__asm__ volatile (
"move.w (%%sp)+,%%d2\n\t" \
"move.w %%d2,sr\n\t"
"move.w %%d2,%%sr\n\t"
: \
: \
: \