Fix OLED timeout on satisfaction75 after migration from QWIIC (#14780)
The custom OLED_OFF mode implemented on satisfaction75 is incompatible with the OLED_TIMEOUT feature (the OLED_TIMEOUT code assumes that any key or encoder action should turn the OLED display on, and does not provide any way to disable that behavior). To keep the OLED_OFF mode functioning as before while still having a working OLED idle timeout, a custom implementation of the OLED idle timeout code is added.
This commit is contained in:
parent
0ea72af8b7
commit
2d3bd7cfcf
4 changed files with 87 additions and 8 deletions
|
@ -74,6 +74,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
// configure oled driver for the 128x32 oled
|
||||
#define OLED_UPDATE_INTERVAL 66 // ~15fps
|
||||
|
||||
// OLED_TIMEOUT is incompatible with the OLED_OFF mode
|
||||
#define OLED_TIMEOUT 0
|
||||
|
||||
// OLED timeout reimplemented in the keyboard-specific code
|
||||
#define CUSTOM_OLED_TIMEOUT 60000
|
||||
|
||||
// Custom config starts after VIA's EEPROM usage,
|
||||
// dynamic keymaps start after this.
|
||||
// Custom config Usage:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue