Skip to content

Commit

Permalink
Fix ili9xxx inversion opcode entry (qmk#21422)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored and csolje committed Oct 21, 2023
1 parent 5fc9874 commit 3236c82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/painter/ili9xxx/qp_ili9xxx_opcodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3236c82

Please sign in to comment.