notificaiton

This commit is contained in:
ladyada 2017-11-09 23:12:40 -05:00
parent d5ace93de9
commit 4b5fce978f

View file

@ -321,8 +321,10 @@ function install_fbcp() {
# if there's X11 installed...
if [ -e /etc/lightdm ]; then
echo "Using double resolution"
reconfig /boot/config.txt "^.*hdmi_cvt.*$" "hdmi_cvt=${WIDTH_VALUES[PITFT_SELECT-1]*2} ${HEIGHT_VALUES[PITFT_SELECT-1]*2} 60 1 0 0 0"
else
echo "Using native resolution"
reconfig /boot/config.txt "^.*hdmi_cvt.*$" "hdmi_cvt=${WIDTH_VALUES[PITFT_SELECT-1]} ${HEIGHT_VALUES[PITFT_SELECT-1]} 60 1 0 0 0"
fi