Ver código fonte

GRAPHICAL_TFT_ROTATE_180 for ST7789V (#19042)

mmajoor 4 anos atrás
pai
commit
02ea13b511
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 1
Marlin/src/lcd/dogm/u8g_dev_tft_320x240_upscale_from_128x64.cpp Ver arquivo

@@ -298,7 +298,7 @@ static const uint16_t st7789v_init[] = {
298 298
   ESC_REG(0x0010), ESC_DELAY(10),
299 299
   ESC_REG(0x0001), ESC_DELAY(200),
300 300
   ESC_REG(0x0011), ESC_DELAY(120),
301
-  ESC_REG(0x0036), 0x00A0,
301
+  ESC_REG(0x0036), TERN(GRAPHICAL_TFT_ROTATE_180, 0x0060, 0x00A0),
302 302
   ESC_REG(0x003A), 0x0055,
303 303
   ESC_REG(0x002A), 0x0000, 0x0000, 0x0001, 0x003F,
304 304
   ESC_REG(0x002B), 0x0000, 0x0000, 0x0000, 0x00EF,

Carregando…
Cancelar
Salvar