From b6739c29d91ae840befd6f461699286d5ee04865 Mon Sep 17 00:00:00 2001 From: Christian Starkjohann Date: Mon, 3 Aug 2009 15:55:51 +0000 Subject: - added comment how USB port pins must be initialized --- usbdrv/usbdrv.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usbdrv') diff --git a/usbdrv/usbdrv.h b/usbdrv/usbdrv.h index 5b277f9..fd1083e 100644 --- a/usbdrv/usbdrv.h +++ b/usbdrv/usbdrv.h @@ -167,7 +167,9 @@ struct usbRequest; /* forward declaration */ USB_PUBLIC void usbInit(void); /* This function must be called before interrupts are enabled and the main - * loop is entered. + * loop is entered. We exepct that the PORT and DDR bits for D+ and D- have + * not been changed from their default status (which is 0). If you have changed + * them, set both back to 0 (configure them as input with no internal pull-up). */ USB_PUBLIC void usbPoll(void); /* This function must be called at regular intervals from the main loop. -- cgit v1.2.3