[st7701s] Add explanatory comment (#12014)

This commit is contained in:
Javier Peletier
2025-11-20 20:05:22 +11:00
committed by GitHub
parent 83307684a3
commit b346666a52
@@ -24,6 +24,8 @@ class ST7701S(DriverChip):
sdir = 0
if transform.get(CONF_MIRROR_X):
sdir |= 0x04
# XFLIP doesn't do anything in the ST7701S,
# it's set in the madctl byte just so it can be reported at runtime by logconfig
madctl |= MADCTL_XFLIP
sequence.append((SDIR_CMD, sdir))
return madctl