Tiny change to panel initialization for IT8951 driver.
The code at the end of the initialization does the same thing as the clear function, except it does so less efficiently because it uses image mode "L" (grayscale) instead of mode "1" (black & white).
Replacing those two lines of code reduces repeat code and makes it slightly faster because of the different image mode.
Tiny change to panel initialization for IT8951 driver. The code at the end of the initialization does the same thing as the clear function, except it does so less efficiently because it uses image mode "L" (grayscale) instead of mode "1" (black & white). Replacing those two lines of code reduces repeat code and makes it slightly faster because of the different image mode.