cleanup
This commit is contained in:
parent
fd65a3c5b5
commit
ccdc62c334
2 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -83,7 +83,6 @@ struct glcd_msg_get_pixel_color {
|
|||
|
||||
uint16_t x;
|
||||
uint16_t y;
|
||||
uint16_t color;
|
||||
};
|
||||
|
||||
struct glcd_msg_draw_pixel {
|
||||
|
|
Loading…
Add table
Reference in a new issue