aboutsummaryrefslogtreecommitdiffstats
path: root/glcd/glcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'glcd/glcd.c')
-rw-r--r--glcd/glcd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/glcd/glcd.c b/glcd/glcd.c
index 8f3e0ccd..7d0cfb5d 100644
--- a/glcd/glcd.c
+++ b/glcd/glcd.c
@@ -206,12 +206,10 @@ void lcdClear(uint16_t color) {
uint16_t lcdGetPixelColor(uint16_t x, uint16_t y) {
struct glcd_msg_get_pixel_color msg;
- uint16_t result;
msg.action = GLCD_GET_PIXEL_COLOR;
msg.x = x;
msg.y = y;
- msg.color = &result;
return chMsgSend(workerThread, (msg_t)&msg);
}