diff options
author | QMK Bot <hello@qmk.fm> | 2022-07-31 21:35:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-31 21:35:53 -0700 |
commit | e32a9560282aa0946760ca3945d8575d96eeb8fc (patch) | |
tree | 0d7d55e70ce4f2feb80018a8e9b4ddbfa96159b7 | |
parent | 2bdd73f80135965c1047b24b78fdf15c1ebbbee7 (diff) |
Format code according to conventions (#17869)
-rw-r--r-- | drivers/painter/st77xx/qp_st7735_opcodes.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/drivers/painter/st77xx/qp_st7735_opcodes.h b/drivers/painter/st77xx/qp_st7735_opcodes.h index 3cbef78537..816e32f3d7 100644 --- a/drivers/painter/st77xx/qp_st7735_opcodes.h +++ b/drivers/painter/st77xx/qp_st7735_opcodes.h @@ -7,25 +7,25 @@ // Quantum Painter ST7735 additional command opcodes // Panel Function Commands -#define ST7735_SET_FRAME_RATE_CTL_1 0xB1 // Set frame rate control 1 -#define ST7735_SET_FRAME_RATE_CTL_2 0xB2 // Set frame rate control 2 -#define ST7735_SET_FRAME_RATE_CTL_3 0xB3 // Set frame rate control 3 -#define ST7735_SET_INVERSION_CTL 0xB4 // Set inversion mode control -#define ST7735_SET_DISPLAY_CTL 0xB6 // Set display control 5 -#define ST7735_SET_POWER_CTL_1 0xC0 // Set GVDD -#define ST7735_SET_POWER_CTL_2 0xC1 // Set VGH and VGL -#define ST7735_SET_POWER_CTL_3 0xC2 // Set normal mode op amp current -#define ST7735_SET_POWER_CTL_4 0xC3 // Set idle mode op amp current -#define ST7735_SET_POWER_CTL_5 0xC4 // Set partial mode op amp current -#define ST7735_SET_VCOM_CTL 0xC5 // Set VCOM voltages -#define ST7735_SET_VCOM_OFFSET_CTL 0xC7 // Set VCOM offset ctl -#define ST7735_SET_LCD_ID 0xD1 // Set LCD module version -#define ST7735_SET_PROJECT_ID 0xD2 // Set product project ID -#define ST7735_SET_POWER_CTL_6 0xFC // Set partial+idle op amp current -#define ST7735_SET_NVMEM_CTL_STATUS 0xD9 // EEPROM Control Status -#define ST7735_SET_NVMEM_READ_CMD 0xCC // EEPROM Read Command -#define ST7735_SET_NVMEM_WRITE_CMD 0xDF // EEPROM Write Command -#define ST7735_SET_PGAMMA 0xE0 // Set positive gamma -#define ST7735_SET_NGAMMA 0xE1 // Set negative gamma -#define ST7735_SET_EXTENSION_ENABLE 0xF0 // Enable extension command -#define ST7735_SET_VCOM_DELAY 0xFF // Set VCOM delay time +#define ST7735_SET_FRAME_RATE_CTL_1 0xB1 // Set frame rate control 1 +#define ST7735_SET_FRAME_RATE_CTL_2 0xB2 // Set frame rate control 2 +#define ST7735_SET_FRAME_RATE_CTL_3 0xB3 // Set frame rate control 3 +#define ST7735_SET_INVERSION_CTL 0xB4 // Set inversion mode control +#define ST7735_SET_DISPLAY_CTL 0xB6 // Set display control 5 +#define ST7735_SET_POWER_CTL_1 0xC0 // Set GVDD +#define ST7735_SET_POWER_CTL_2 0xC1 // Set VGH and VGL +#define ST7735_SET_POWER_CTL_3 0xC2 // Set normal mode op amp current +#define ST7735_SET_POWER_CTL_4 0xC3 // Set idle mode op amp current +#define ST7735_SET_POWER_CTL_5 0xC4 // Set partial mode op amp current +#define ST7735_SET_VCOM_CTL 0xC5 // Set VCOM voltages +#define ST7735_SET_VCOM_OFFSET_CTL 0xC7 // Set VCOM offset ctl +#define ST7735_SET_LCD_ID 0xD1 // Set LCD module version +#define ST7735_SET_PROJECT_ID 0xD2 // Set product project ID +#define ST7735_SET_POWER_CTL_6 0xFC // Set partial+idle op amp current +#define ST7735_SET_NVMEM_CTL_STATUS 0xD9 // EEPROM Control Status +#define ST7735_SET_NVMEM_READ_CMD 0xCC // EEPROM Read Command +#define ST7735_SET_NVMEM_WRITE_CMD 0xDF // EEPROM Write Command +#define ST7735_SET_PGAMMA 0xE0 // Set positive gamma +#define ST7735_SET_NGAMMA 0xE1 // Set negative gamma +#define ST7735_SET_EXTENSION_ENABLE 0xF0 // Enable extension command +#define ST7735_SET_VCOM_DELAY 0xFF // Set VCOM delay time |