aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hid-mouse
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2010-01-15 18:34:48 +0000
committerChristian Starkjohann <cs+github@obdev.at>2010-01-15 18:34:48 +0000
commit9af5598e13733490671372a28173d08c7314f030 (patch)
tree4f5950f2b8f6dc98370cc9db3acc35a21855b2d0 /examples/hid-mouse
parenta29be0eac641b72dbade9b98d46d011b819aafe2 (diff)
downloadv-usb-9af5598e13733490671372a28173d08c7314f030.tar.gz
v-usb-9af5598e13733490671372a28173d08c7314f030.tar.bz2
v-usb-9af5598e13733490671372a28173d08c7314f030.zip
- moved first debug print after odDebugInit()
Diffstat (limited to 'examples/hid-mouse')
-rw-r--r--examples/hid-mouse/firmware/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hid-mouse/firmware/main.c b/examples/hid-mouse/firmware/main.c
index 32a81d4..8f3fcd5 100644
--- a/examples/hid-mouse/firmware/main.c
+++ b/examples/hid-mouse/firmware/main.c
@@ -132,12 +132,12 @@ 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!
*/
- 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
* additional hardware initialization.
*/
odDebugInit();
+ DBG1(0x00, 0, 0); /* debug output: main starts */
usbInit();
usbDeviceDisconnect(); /* enforce re-enumeration, do this while interrupts are disabled! */
i = 0;