Merge branch 'master' of www.gniibe.org:git/gnuk

This commit is contained in:
NIIBE Yutaka
2012-05-28 09:42:24 +09:00

View File

@@ -477,10 +477,13 @@ main (int argc, char *argv[])
set_led (1);
usb_lld_shutdown ();
/* Disable SysTick */
SysTick->CTRL = 0;
/* Disable all interrupts */
port_disable ();
/* set vector */
/* Set vector */
SCB->VTOR = (uint32_t)&_regnual_start;
/* leave Gnuk */
/* Leave Gnuk */
flash_mass_erase_and_exec ();
/* Never reached */