You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk-fw/drivers
Ted M Lin 9456832a3b
Fix out of bound OLED font access (#8145)
* Fix out of bound OLED font access

The default font is 1344 bytes, or a total of 224 glyphs (each 6-bytes wide).
OLED_FONT_END defaults to 224, which if used will then index off the end of
the font array. So either the documentation or code is wrong.

Instead of figuring out the rewording of the documentation, just change
the OLED_FONT_END default value to 223, to match the documentation and code.

* Add static assert to check array size

Build bomb if the font array size doesn't match to the defines.
5 years ago
..
arm Add thread safety around i2c_master for ChibiOS/ARM. 5 years ago
avr Update split serial code to use driver pattern (#7990) 5 years ago
boards Refactor stm32duino f103 keyboards to use new central board config files (#7706) 5 years ago
eeprom format code according to conventions [skip ci] 5 years ago
gpio Increase matrix scanning speed on xd84 (#7517) 5 years ago
haptic Completely remove i2c_transmit_receive function (#7686) 5 years ago
issi Run clang-format manually to fix recently changed files (#7934) 5 years ago
oled Fix out of bound OLED font access (#8145) 5 years ago
qwiic clang-format changes 6 years ago
ugfx/gdisp clang-format changes 6 years ago