From ccdc62c3345427e4a03de47f6b6deb5d95e1c6f6 Mon Sep 17 00:00:00 2001 From: Tectu Date: Tue, 24 Jul 2012 03:56:45 +0200 Subject: [PATCH] cleanup --- glcd/glcd.c | 2 -- glcd/glcdWorker.h | 1 - 2 files changed, 3 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); } diff --git a/glcd/glcdWorker.h b/glcd/glcdWorker.h index 14709b8f..04f8a3ed 100644 --- a/glcd/glcdWorker.h +++ b/glcd/glcdWorker.h @@ -83,7 +83,6 @@ struct glcd_msg_get_pixel_color { uint16_t x; uint16_t y; - uint16_t color; }; struct glcd_msg_draw_pixel {