diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2010-01-15 18:34:48 +0000 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2010-01-15 18:34:48 +0000 |
commit | 9af5598e13733490671372a28173d08c7314f030 (patch) | |
tree | 4f5950f2b8f6dc98370cc9db3acc35a21855b2d0 /examples/drivertest/firmware | |
parent | a29be0eac641b72dbade9b98d46d011b819aafe2 (diff) | |
download | v-usb-9af5598e13733490671372a28173d08c7314f030.tar.gz v-usb-9af5598e13733490671372a28173d08c7314f030.tar.bz2 v-usb-9af5598e13733490671372a28173d08c7314f030.zip |
- moved first debug print after odDebugInit()
Diffstat (limited to 'examples/drivertest/firmware')
-rw-r--r-- | examples/drivertest/firmware/main.c | 2 |
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; |