Skip to content

Commit 49daaeb

Browse files
committed
Update LGFX_CYD.h
1 parent 1b075e8 commit 49daaeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

printpoop_app/LGFX_CYD.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class LGFX : public lgfx::LGFX_Device {
8484
cfg.pin_int = 36;
8585

8686
#ifdef USE_CYD_24 // CYD 2.4" touch
87-
cfg.offset_rotation = 1;
87+
cfg.offset_rotation = 3;
8888
cfg.spi_host = HSPI_HOST; // Touch controller is on the HSPI bus
8989
cfg.pin_sclk = -1; //share with lcd
9090
cfg.pin_mosi = -1; //share with lcd

0 commit comments

Comments
 (0)