From 5282c3e7d0a658549558100236397284ab8aefbe Mon Sep 17 00:00:00 2001 From: Stefan Krulj Date: Fri, 29 Jun 2012 04:41:20 +0200 Subject: [PATCH] Funktioniert wieder --- libcrypt/main.c | 2 +- libcrypt/usb_callback.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcrypt/main.c b/libcrypt/main.c index f6ea8f5..48f245e 100644 --- a/libcrypt/main.c +++ b/libcrypt/main.c @@ -63,7 +63,7 @@ int main(void){ usbInit(); sei(); for(;;){ /* main event loop */ - //usbPoll(); + usbPoll(); /* we can send another key */ if(usbInterruptIsReady()){ foo=!foo; diff --git a/libcrypt/usb_callback.c b/libcrypt/usb_callback.c index 35f3d76..7fd6416 100644 --- a/libcrypt/usb_callback.c +++ b/libcrypt/usb_callback.c @@ -36,7 +36,7 @@ uint8_t usbFunctionSetup(uint8_t data[8]){ * Redundant entries (such as LOGICAL_MINIMUM and USAGE_PAGE) have been omitted * for the second INPUT item. */ -PROGMEM const char usbHidReportDescriptor[USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH] = { /* USB report descriptor */ +const PROGMEM char usbHidReportDescriptor[USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH] = { /* USB report descriptor */ 0x05, 0x01, // USAGE_PAGE (Generic Desktop) 0x09, 0x06, // USAGE (Keyboard) 0xa1, 0x01, // COLLECTION (Application)