aboutsummaryrefslogtreecommitdiffstats
path: root/examples/drivertest/firmware/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/drivertest/firmware/main.c')
-rw-r--r--examples/drivertest/firmware/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/drivertest/firmware/main.c b/examples/drivertest/firmware/main.c
index 2bcbc8f..0c3d320 100644
--- a/examples/drivertest/firmware/main.c
+++ b/examples/drivertest/firmware/main.c
@@ -83,6 +83,7 @@ uchar i;
/* Even if you don't use the watchdog, turn it off here. On newer devices,
* the status of the watchdog (on/off, period) is PRESERVED OVER RESET!
*/
+ odDebugInit();
DBG1(0x00, 0, 0); /* debug output: main starts */
/* RESET status: all port bits are inputs without pull-up.
* That's the way we need D+ and D-. Therefore we don't need any
@@ -93,7 +94,6 @@ uchar i;
DDRB = (1 << 2) | (1 << 3);
TCCR0 = 3; /* 1/64 prescaler */
- odDebugInit();
usbInit();
usbDeviceDisconnect(); /* enforce re-enumeration, do this while interrupts are disabled! */
i = 0;