}
-
void usb_device_reload()
{
asm volatile("bkpt");
}
-void _reboot_Teensyduino_(void)
-{
- // TODO: initialize R0 with a code....
- asm volatile("bkpt");
-}
-
-
-
void usb_isr(void)
{
uint8_t status, stat, t;
t = usb_reboot_timer;
if (t) {
usb_reboot_timer = --t;
- if (!t) _reboot_Teensyduino_();
+ if (!t) usb_device_reload();
}
#ifdef CDC_DATA_INTERFACE
t = usb_cdc_transmit_flush_timer;