diff options
author | Nick Brassel <nick@tzarc.org> | 2021-04-19 13:08:01 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-19 13:08:01 +1000 |
commit | a0089aa34519ec4fcf7cee6a352424e4b7cba7da (patch) | |
tree | cf33fef21d6302e72da5c5cff3d9d42d106634da /keyboards/cannonkeys/satisfaction75/satisfaction75.c | |
parent | eb7e668eb908de9d41ab9d088effb8adedf520b5 (diff) |
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.
Diffstat (limited to 'keyboards/cannonkeys/satisfaction75/satisfaction75.c')
-rw-r--r-- | keyboards/cannonkeys/satisfaction75/satisfaction75.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/cannonkeys/satisfaction75/satisfaction75.c b/keyboards/cannonkeys/satisfaction75/satisfaction75.c index fd85b8230b..47c9a9d503 100644 --- a/keyboards/cannonkeys/satisfaction75/satisfaction75.c +++ b/keyboards/cannonkeys/satisfaction75/satisfaction75.c @@ -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; |