summaryrefslogtreecommitdiff
path: root/drivers/painter
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2023-07-02 17:10:38 -0700
committerGitHub <noreply@github.com>2023-07-03 10:10:38 +1000
commitd2fd9e1773a454719940b3e033b6890cd6ddd720 (patch)
treee450c68c1c1c086dd6a03a76963b1854ebcaa6fa /drivers/painter
parentc4f66e5d6e57d2100a8d3a08758075c470f04767 (diff)
Fix ili9xxx inversion opcode entry (#21422)
Diffstat (limited to 'drivers/painter')
-rw-r--r--drivers/painter/ili9xxx/qp_ili9xxx_opcodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/painter/ili9xxx/qp_ili9xxx_opcodes.h b/drivers/painter/ili9xxx/qp_ili9xxx_opcodes.h
index 47bb703648..f57e638e03 100644
--- a/drivers/painter/ili9xxx/qp_ili9xxx_opcodes.h
+++ b/drivers/painter/ili9xxx/qp_ili9xxx_opcodes.h
@@ -19,8 +19,8 @@
#define ILI9XXX_CMD_SLEEP_OFF 0x11 // Exist sleep mode
#define ILI9XXX_CMD_PARTIAL_ON 0x12 // Enter partial mode
#define ILI9XXX_CMD_PARTIAL_OFF 0x13 // Exit partial mode
-#define ILI9XXX_CMD_INVERT_ON 0x20 // Enter inverted mode
-#define ILI9XXX_CMD_INVERT_OFF 0x21 // Exit inverted mode
+#define ILI9XXX_CMD_INVERT_OFF 0x20 // Exit inverted mode
+#define ILI9XXX_CMD_INVERT_ON 0x21 // Enter inverted mode
#define ILI9XXX_SET_GAMMA 0x26 // Set gamma params
#define ILI9XXX_CMD_DISPLAY_OFF 0x28 // Disable display
#define ILI9XXX_CMD_DISPLAY_ON 0x29 // Enable display