The clear() function was only clearing a small slice of the screen for me. The call to take() was not working on AVR, probably because 240x320 = 76800, which when converted to a usize becomes 11264.
@mutantbob I forgot to mention, could you please look at https://github.com/almindor/mipidsi and see if you could apply the fix there too? I'm deprecating this driver in favour of the unified one.
The
clear()
function was only clearing a small slice of the screen for me. The call totake()
was not working on AVR, probably because 240x320 = 76800, which when converted to ausize
becomes 11264.This patch seems to fix it.