Fix compiler warning
This commit is contained in:
parent
a8e860678d
commit
5d2d6e7962
@ -106,6 +106,7 @@ static inline void release_bus(GDisplay *g) {
|
||||
|
||||
static inline void write_cmd(GDisplay *g, uint8_t cmd) {
|
||||
uint8_t command[2];
|
||||
(void) g;
|
||||
|
||||
command[0] = 0x00; // Co = 0, D/C = 0
|
||||
command[1] = cmd;
|
||||
|
Loading…
Reference in New Issue
Block a user