[st7701s] Add explanatory comment (#12014)

This commit is contained in:
Javier Peletier
2025-11-20 10:05:22 +01:00
committed by GitHub
parent 83307684a3
commit b346666a52

View File

@@ -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