fix the widths/heights

This commit is contained in:
lady ada 2020-07-29 18:23:16 -04:00
parent 4b41f91736
commit a3ea15cfd9

View file

@ -52,16 +52,6 @@ ROTATE_28c90="rotate=90,touch-swapxy=true,touch-invx=true"
ROTATE_28c180="rotate=180"
ROTATE_28c270="rotate=270,touch-swapxy=true,touch-invy=true"
MADCTL_st7789_240x2400="0x36,0x60,-1,0x37,0x00,0x00,-1"
MADCTL_st7789_240x24090="0x36,0x00,-1,0x37,0x00,0x00,-1"
MADCTL_st7789_240x240180="0x36,0xA0,-1,0x37,0x00,0x50,-1"
MADCTL_st7789_240x240270="0x36,0xC0,-1,0x37,0x00,0x50,-1"
MADCTL_st7789_240x32090="0x36,0x60,-1,0x37,0x00,0x00,-1"
MADCTL_st7789_240x320180="0x36,0x00,-1,0x37,0x00,0x00,-1"
MADCTL_st7789_240x320270="0x36,0xA0,-1,0x37,0x00,0x00,-1"
MADCTL_st7789_240x3200="0x36,0xC0,-1,0x37,0x00,0x00,-1"
warning() {
echo WARNING : $1
}
@ -570,9 +560,9 @@ fi
PITFT_ROTATIONS=("90" "180" "270" "0")
PITFT_TYPES=("28r" "22" "28c" "35r" "st7789_240x240" "st7789_240x135" "st7789_240x320")
WIDTH_VALUES=(320 320 320 320 480 240)
HEIGHT_VALUES=(240 240 240 240 320 240)
HZ_VALUES=(64000000 64000000 64000000 64000000 32000000 64000000)
WIDTH_VALUES=(320 320 320 480 240 240 320)
HEIGHT_VALUES=(240 240 240 320 240 135 240)
HZ_VALUES=(64000000 64000000 64000000 32000000 64000000 64000000)