notificaiton
This commit is contained in:
parent
d5ace93de9
commit
4b5fce978f
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue