Fix for ST7735 driver
This commit is contained in:
parent
013bac84ce
commit
891b78a62c
@ -198,7 +198,7 @@ static const unsigned char
|
||||
#endif
|
||||
|
||||
|
||||
static void execute_cmds (const uint8_t *addr) {
|
||||
static void execute_cmds(GDisplay *g, const uint8_t *addr) {
|
||||
|
||||
unsigned int cmds = *addr++;
|
||||
while (cmds--) {
|
||||
@ -231,7 +231,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
|
||||
|
||||
// Get the bus for the following initialisation commands
|
||||
acquire_bus(g);
|
||||
execute_cmds (init_cmds);
|
||||
execute_cmds(g, init_cmds);
|
||||
release_bus(g);
|
||||
|
||||
// Finish Init
|
||||
|
Loading…
Reference in New Issue
Block a user