4D display working with Gecko board STK3600
Fork of 4dGENIE by
Diff: mbed_genie.cpp
- Revision:
- 1:95e0e194a412
- Parent:
- 0:d2ed5a44c802
- Child:
- 2:f283764fe9b7
diff -r d2ed5a44c802 -r 95e0e194a412 mbed_genie.cpp --- a/mbed_genie.cpp Fri Feb 21 01:42:46 2014 +0000 +++ b/mbed_genie.cpp Fri Feb 21 02:47:32 2014 +0000 @@ -47,7 +47,7 @@ ////////////////////////////////////////////////////////////// // Number of times we have had a timeout -static int _genieTimeouts = 0; +//static int _genieTimeouts = 0; ////////////////////////////////////////////////////////////// @@ -62,7 +62,7 @@ ////////////////////////////////////////////////////////////// // Number of fatal errors encountered -static int _genieFatalErrors = 0; +//static int _genieFatalErrors = 0; ////////////////////// genieGetEventData //////////////////////// // // Returns the LSB and MSB of the event's data combined into @@ -318,7 +318,8 @@ rxframe_count++; return GENIE_EVENT_RXCHAR; } - } + } + return GENIE_EVENT_NONE; } ////////////////////// genieDequeueEvent /////////////////// @@ -407,7 +408,8 @@ _geniePutchar(checksum) ; - _geniePushLinkState(GENIE_LINK_WFAN); + _geniePushLinkState(GENIE_LINK_WFAN); + return GENIE_EVENT_NONE; } /////////////////////// genieWriteContrast ////////////////////// @@ -582,8 +584,6 @@ // Sets: _genieError with any errors encountered // uint8_t _genieGetchar() { - uint16_t result; - _genieError = ERROR_NONE;