Avoid 0xFF character when writing to MAX7456 in auto-increment mode
commit932998a33cb113d7af1ab55bcadfa9986c7c20a4
authorBruce Luckcuck <github@etracer.net>
Tue, 1 May 2018 16:02:56 +0000 (1 12:02 -0400)
committerBruce Luckcuck <github@etracer.net>
Tue, 1 May 2018 16:07:40 +0000 (1 12:07 -0400)
tree567157a9c59cf80d64bb85167178d3543a508ab1
parent02efd46833155f43b77a15f8ebe795484898d488
Avoid 0xFF character when writing to MAX7456 in auto-increment mode
The 0xFF character is used as an "escape" character by the MAX7456 when using auto-increment mode. The last byte of the characters used for the logo is the 0xFF character and this was causing the version and CMS instructions to not display.

Changed the logic to avoid the 0xFF character during the auto-increment phase and added a second pass if needed to update those characters in direct addressing mode.
src/main/drivers/max7456.c