Update MHS32-show

update resolution
This commit is contained in:
goodtft 2022-07-14 18:23:05 +08:00 committed by GitHub
parent 9a3fef148c
commit 0c9ed6716c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ sudo echo "dtoverlay=mhs32:rotate=270" >> ./boot/config.txt.bak
sudo echo "hdmi_group=2" >> ./boot/config.txt.bak
sudo echo "hdmi_mode=1" >> ./boot/config.txt.bak
sudo echo "hdmi_mode=87" >> ./boot/config.txt.bak
sudo echo "hdmi_cvt 320 240 60 6 0 0 0" >> ./boot/config.txt.bak
sudo echo "hdmi_cvt 480 360 60 6 0 0 0" >> ./boot/config.txt.bak
sudo echo "hdmi_drive=2" >> ./boot/config.txt.bak
sudo cp -rf ./boot/config.txt.bak /boot/config.txt
@ -38,7 +38,7 @@ sudo cp -rf ./usr/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf
sudo cp ./usr/inittab /etc/
#sudo cp ./boot/config-mhs32.txt /boot/config.txt
sudo touch ./.have_installed
echo "gpio:resistance:mhs32:270:480:320" > ./.have_installed
echo "gpio:resistance:mhs32:270:480:360" > ./.have_installed
#FBCP install
wget --spider -q -o /dev/null --tries=1 -T 10 https://cmake.org/
if [ $? -eq 0 ]; then