Fixup Satisfaction75 bootprocess. (#12621)
- Use normal ChibiOS I2C driver. - Move drawing code to housekeeping -- previously it was during matrix scan, which gets executed during bootmagic checks. However, bootmagic is invoked before QWIIC subsystem is enabled, which means I2C isn't configured yet. All I2C calls to the OLED fail with timeouts while bootmagic is being checked. Housekeeping ensures this is executed once the system has initialised and settled. - QWIIC OLED driver: properly clear out OLED buffer when clearing screen.
This commit is contained in:
parent
eb7e668eb9
commit
a0089aa345
4 changed files with 15 additions and 125 deletions
|
@ -206,6 +206,8 @@ void clear_screen(void) {
|
|||
send_data(0);
|
||||
}
|
||||
}
|
||||
|
||||
memset(micro_oled_screen_current, 0, LCDWIDTH * LCDHEIGHT / 8);
|
||||
}
|
||||
|
||||
/** \brief Clear SSD1306's memory.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue