From 359fbfe14d00ab378f85a36664820ea9ba538c3f Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 10 May 2012 19:24:58 +0000 Subject: Add branch for the conversion of demos to use standard C header files for configuration, rather than makefile defined macros. --- Projects/Magstripe/Descriptors.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Projects/Magstripe/Descriptors.h') diff --git a/Projects/Magstripe/Descriptors.h b/Projects/Magstripe/Descriptors.h index 27ea9a1c5..f90816a82 100644 --- a/Projects/Magstripe/Descriptors.h +++ b/Projects/Magstripe/Descriptors.h @@ -58,8 +58,8 @@ } USB_Descriptor_Configuration_t; /* Macros: */ - /** Endpoint number of the keyboard key press reporting endpoint. */ - #define KEYBOARD_EPNUM 1 + /** Endpoint address of the keyboard key press reporting endpoint. */ + #define KEYBOARD_EPADDR (ENDPOINT_DIR_IN | 1) /** Size of the keyboard report endpoints, in bytes. */ #define KEYBOARD_EPSIZE 8 -- cgit v1.2.3 From 28967ef2e8f32e77031eb645970d2fa1a843e255 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 20 May 2012 15:45:53 +0000 Subject: Add missing AppConfig.h includes to project Descriptors.h files. --- Projects/Magstripe/Descriptors.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Projects/Magstripe/Descriptors.h') diff --git a/Projects/Magstripe/Descriptors.h b/Projects/Magstripe/Descriptors.h index f90816a82..a03fa54df 100644 --- a/Projects/Magstripe/Descriptors.h +++ b/Projects/Magstripe/Descriptors.h @@ -42,6 +42,8 @@ #include + #include "Config/AppConfig.h" + /* Type Defines: */ /** Type define for the device configuration descriptor structure. This must be defined in the * application code, as the configuration descriptor contains several sub-descriptors which -- cgit v1.2.3