aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/TeensyHID
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-07-28 13:12:14 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-07-28 13:12:14 +0000
commite426463355b8516a442c01e0e6b4a574c39fc0f4 (patch)
tree5c6c01c7ab24a423e956154bb8bba7db268c8b5b /Bootloaders/TeensyHID
parentc1be3073939c71d17c92fcbce4e1690d0a1443f0 (diff)
downloadlufa-e426463355b8516a442c01e0e6b4a574c39fc0f4.tar.gz
lufa-e426463355b8516a442c01e0e6b4a574c39fc0f4.tar.bz2
lufa-e426463355b8516a442c01e0e6b4a574c39fc0f4.zip
Better solution - change compile time token names to DEVICE_STATE_AS_GPIOR and HOST_STATE_AS_GPIOR and allow the user to set them to the index of the GPIOR register within the device to use.
Diffstat (limited to 'Bootloaders/TeensyHID')
-rw-r--r--Bootloaders/TeensyHID/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/TeensyHID/makefile b/Bootloaders/TeensyHID/makefile
index e02e6cec7..0751024c3 100644
--- a/Bootloaders/TeensyHID/makefile
+++ b/Bootloaders/TeensyHID/makefile
@@ -118,7 +118,7 @@ LUFA_PATH = ../..
LUFA_OPTS = -D USB_DEVICE_ONLY
LUFA_OPTS += -D USE_NONSTANDARD_DESCRIPTOR_NAMES
LUFA_OPTS += -D CONTROL_ONLY_DEVICE
-LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR0
+LUFA_OPTS += -D DEVICE_STATE_AS_GPIOR=0
LUFA_OPTS += -D FIXED_CONTROL_ENDPOINT_SIZE=8
LUFA_OPTS += -D TOTAL_NUM_CONFIGURATIONS=1
LUFA_OPTS += -D USE_RAM_DESCRIPTORS