aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glcd.c8
-rw-r--r--worker.h14
2 files changed, 0 insertions, 22 deletions
diff --git a/glcd.c b/glcd.c
index 6030fb83..309470c4 100644
--- a/glcd.c
+++ b/glcd.c
@@ -99,14 +99,6 @@ static msg_t ThreadGLCDWorker(void *arg) {
msg->result = GLCD_DONE;
break;
}
-
- case GLCD_DRAW_CHAR: {
- struct glcd_msg_draw_char *emsg = (struct glcd_msg_draw_char*)msg;
- /* ToDo */
- // _doDrawChar(emsg);
- msg->result = emsg->return_value;
- break;
- }
}
/* Done, release msg again. */
diff --git a/worker.h b/worker.h
index b0f470cc..d08cae9d 100644
--- a/worker.h
+++ b/worker.h
@@ -14,7 +14,6 @@ enum glcd_action { GLCD_SET_POWERMODE,
GLCD_WRITE_STREAM_START,
GLCD_WRITE_STREAM_STOP,
GLCD_WRITE_STREAM,
- GLCD_DRAW_CHAR,
};
enum glcd_result { GLCD_DONE,
@@ -109,18 +108,5 @@ struct glcd_msg_write_stream {
uint16_t size;
};
-struct glcd_msg_draw_char {
- _glcd_msg_base
-
- uint16_t cx;
- uint16_t cy;
- char c;
- const uint8_t *font;
- uint16_t color;
- uint16_t bkcolor;
- bool_t tpText;
- uint16_t return_value;
-};
-
#endif