Merge pull request #34 from dacarley/revert-resolution-change

Revert the resolution change for now
This commit is contained in:
OneFinityCNC
2021-03-10 13:15:56 -05:00
committed by GitHub

View File

@@ -37,13 +37,13 @@ fi
#chmod ug+s /usr/lib/xorg/Xorg
# Use the full screen resolution
grep "^framebuffer_width=1280$" /boot/config.txt >/dev/null
if [ $? -eq 0 ]; then
mount -o remount,rw /boot &&
sed -i 's/^\(framebuffer_.*\)$/#\1/g' /boot/config.txt
mount -o remount,ro /boot
REBOOT=true
fi
# grep "^framebuffer_width=1280$" /boot/config.txt >/dev/null
# if [ $? -eq 0 ]; then
# mount -o remount,rw /boot &&
# sed -i 's/^\(framebuffer_.*\)$/#\1/g' /boot/config.txt
# mount -o remount,ro /boot
# REBOOT=true
# fi
# Fix camera
grep dwc_otg.fiq_fsm_mask /boot/cmdline.txt >/dev/null