From 9af5598e13733490671372a28173d08c7314f030 Mon Sep 17 00:00:00 2001 From: Christian Starkjohann Date: Fri, 15 Jan 2010 18:34:48 +0000 Subject: - moved first debug print after odDebugInit() --- examples/hid-custom-rq/firmware/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/hid-custom-rq/firmware/main.c') diff --git a/examples/hid-custom-rq/firmware/main.c b/examples/hid-custom-rq/firmware/main.c index f7a4d0b..2909828 100644 --- a/examples/hid-custom-rq/firmware/main.c +++ b/examples/hid-custom-rq/firmware/main.c @@ -91,12 +91,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; -- cgit v1.2.3