Browse Source

add small timeout after exit

pull/1/head
Olaf Rempel 11 years ago
parent
commit
3acd88c11c
  1. 8
      main.c

8
main.c

@ -21,9 +21,6 @@
#include <avr/boot.h>
#include <avr/pgmspace.h>
#define F_CPU 8000000
#include <util/delay.h>
/*
* atmega8:
* Fuse H: 0xda (512 words bootloader)
@ -449,5 +446,10 @@ int main(void)
PORTB = 0x00;
uint16_t wait = 0x0000;
do {
__asm volatile ("nop");
} while (--wait);
jump_to_app();
}
Loading…
Cancel
Save