From a94b1911645b1f14f80eb0f1612d33f83866d4a3 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 17 Mar 2009 05:27:51 +0000 Subject: Fixed broken Magstripe project and TeensyHID bootloader. --- Projects/Magstripe/Magstripe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Projects/Magstripe/Magstripe.c') 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; } } -- cgit v1.2.3