aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Magstripe/Magstripe.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-03-17 05:27:51 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-03-17 05:27:51 +0000
commita94b1911645b1f14f80eb0f1612d33f83866d4a3 (patch)
treea7f1dc78aa5207db541e80b8a309120385eb17d8 /Projects/Magstripe/Magstripe.c
parentd770d98bca4af54b10316d03979bfcdb71ce623d (diff)
downloadlufa-a94b1911645b1f14f80eb0f1612d33f83866d4a3.tar.gz
lufa-a94b1911645b1f14f80eb0f1612d33f83866d4a3.tar.bz2
lufa-a94b1911645b1f14f80eb0f1612d33f83866d4a3.zip
Fixed broken Magstripe project and TeensyHID bootloader.
Diffstat (limited to 'Projects/Magstripe/Magstripe.c')
-rw-r--r--Projects/Magstripe/Magstripe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/Magstripe/Magstripe.c b/Projects/Magstripe/Magstripe.c
index 0e10053da..aef7812fa 100644
--- a/Projects/Magstripe/Magstripe.c
+++ b/Projects/Magstripe/Magstripe.c
@@ -316,13 +316,13 @@ bool GetNextReport(USB_KeyboardReport_Data_t* ReportData)
if (OddReport)
{
/* Set the report key code to the key code for the next data bit */
- ReportData->KeyCode[0] = BitBuffer_GetNextBit(Buffer) ? KEY_1 : KEY_0;
+ ReportData->KeyCode = BitBuffer_GetNextBit(Buffer) ? KEY_1 : KEY_0;
/* If buffer is now empty, a new line must be sent instead of the terminating bit */
if (!(Buffer->Elements))
{
/* Set the keycode to the code for an enter key press */
- ReportData->KeyCode[0] = KEY_ENTER;
+ ReportData->KeyCode = KEY_ENTER;
}
}