PiGRRL 2: change TFT rotation to 270

This commit is contained in:
Phillip Burgess 2016-12-05 16:18:43 -08:00
parent 03c9cc42ae
commit c0cdbcf178

View file

@ -68,7 +68,7 @@ if [ $PROJ_SELECT -lt 2 ]; then
# 3 elements per project; first is index (1+) into # 3 elements per project; first is index (1+) into
# PITFT_VALUES, second and third are index into # PITFT_VALUES, second and third are index into
# FBROTATE_VALUES and TFTROTATE_VALUES: # FBROTATE_VALUES and TFTROTATE_VALUES:
PROJ_VALUES=(2 1 2) PROJ_VALUES=(2 1 4)
# FBROTATE is almost always 0, except for HDMI portrait mode # FBROTATE is almost always 0, except for HDMI portrait mode
PITFT_SELECT=${PROJ_VALUES[($PROJ_SELECT-1)*3]} PITFT_SELECT=${PROJ_VALUES[($PROJ_SELECT-1)*3]}