summaryrefslogtreecommitdiffstats
path: root/drivers/painter/ili9xxx
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/painter/ili9xxx')
-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