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
|
@ -380,7 +380,7 @@ void matrix_init_kb(void)
|
|||
}
|
||||
|
||||
|
||||
void matrix_scan_kb(void) {
|
||||
void housekeeping_task_kb(void) {
|
||||
rtcGetTime(&RTCD1, &last_timespec);
|
||||
uint16_t minutes_since_midnight = last_timespec.millisecond / 1000 / 60;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue