flip tile
Fork of 4DGL-uLCD-SE by
Diff: uLCD_4DGL_main.cpp
- Revision:
- 6:b759b69cbaf9
- Parent:
- 5:8936798c19a3
- Child:
- 7:e39a44de229a
--- a/uLCD_4DGL_main.cpp Fri Nov 22 02:44:37 2013 +0000 +++ b/uLCD_4DGL_main.cpp Mon Nov 25 04:24:22 2013 +0000 @@ -331,12 +331,8 @@ response[resp++] = (char)temp; } switch (resp) { - case 5 : // if OK populate data and return 1 - type = response[0]; - revision = response[1]; - firmware = response[2]; - reserved1 = response[3]; - reserved2 = response[4]; + case 2 : // if OK populate data and return 1 + revision = response[0]<<8 + response[1]; resp = 1; break; default :