Fix compiler warning
This commit is contained in:
parent
a8e860678d
commit
5d2d6e7962
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ static inline void release_bus(GDisplay *g) {
|
||||||
|
|
||||||
static inline void write_cmd(GDisplay *g, uint8_t cmd) {
|
static inline void write_cmd(GDisplay *g, uint8_t cmd) {
|
||||||
uint8_t command[2];
|
uint8_t command[2];
|
||||||
|
(void) g;
|
||||||
|
|
||||||
command[0] = 0x00; // Co = 0, D/C = 0
|
command[0] = 0x00; // Co = 0, D/C = 0
|
||||||
command[1] = cmd;
|
command[1] = cmd;
|
||||||
|
|
Loading…
Add table
Reference in a new issue