This PR fixes the way oled_write_raw_P is called, currently the array sizes for logo and layer are set to 525 instead of 512, causing erroneous data to get written to the OLED buffer as far as I can tell. Uses ARRAY_SIZE, which was added to QMK in August and hasn't been ported to Vial QMK, so definitions are included as part of this PR in util.h. Tested on my rev2 KB16, appears to give back 200 bytes or so in firmware size.
This PR fixes the way
oled_write_raw_P
is called, currently the array sizes for logo and layer are set to 525 instead of 512, causing erroneous data to get written to the OLED buffer as far as I can tell. Uses ARRAY_SIZE, which was added to QMK in August and hasn't been ported to Vial QMK, so definitions are included as part of this PR inutil.h
. Tested on my rev2 KB16, appears to give back 200 bytes or so in firmware size.Thanks for this keymap, I hope this is helpful!