diff options
author | Håvard Espeland <gus@ping.uio.no> | 2011-08-27 21:11:58 +0200 |
---|---|---|
committer | Håvard Espeland <gus@ping.uio.no> | 2011-08-27 21:11:58 +0200 |
commit | f3fe2ae138e26294256f9e6292f9f51d8841e7e4 (patch) | |
tree | c57896e1e7a8a72372279dc60e49b33053f2b44e | |
parent | 89fdad6ba6ca5a2093e71861913415252f585bb0 (diff) | |
download | at90usb-bootloader-f3fe2ae138e26294256f9e6292f9f51d8841e7e4.tar.gz at90usb-bootloader-f3fe2ae138e26294256f9e6292f9f51d8841e7e4.tar.bz2 at90usb-bootloader-f3fe2ae138e26294256f9e6292f9f51d8841e7e4.tar.xz at90usb-bootloader-f3fe2ae138e26294256f9e6292f9f51d8841e7e4.zip |
Disable timer interrupt before loading main prog.
-rw-r--r-- | BootloaderCDC.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BootloaderCDC.c b/BootloaderCDC.c index 64ef61c..3ea56fc 100644 --- a/BootloaderCDC.c +++ b/BootloaderCDC.c @@ -97,6 +97,7 @@ int main(void) /* Jump to main program. */ cli(); + TIMSK0 = 0 << TOIE0; // Disable Timer0 interrupt __asm("jmp 0x0000"); for (;;); |