We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f890bb9 commit 2c1c667Copy full SHA for 2c1c667
main/src/driver/st7735.c
@@ -83,10 +83,10 @@ void st7735_refresh_gram(uint8_t *gram)
83
spi1_trans[2].flags = SPI_TRANS_USE_TXDATA;
84
85
spi1_trans[3].length = 4*8,
86
- spi1_trans[3].tx_data[0] = 0x00; // starty hith byte
+ spi1_trans[3].tx_data[0] = 0x00; // starty high byte
87
spi1_trans[3].tx_data[1] = 0x1A; // starty low byte
88
- spi1_trans[3].tx_data[2] = 0x00; // starty high byte
89
- spi1_trans[3].tx_data[3] = 0x69; // endy high byte
+ spi1_trans[3].tx_data[2] = 0x00; // endy high byte
+ spi1_trans[3].tx_data[3] = 0x69; // endy low byte
90
spi1_trans[3].user = (void*)1;
91
spi1_trans[3].flags = SPI_TRANS_USE_TXDATA;
92
0 commit comments