Browse Source

pitft-fbcp: fix rotation settings for Cupcade

Phillip Burgess 1 year ago
parent
commit
c5701039e5
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      pitft-fbcp.sh

+ 3
- 3
pitft-fbcp.sh View File

@@ -51,8 +51,8 @@ echo "Select project:"
51 51
 selectN "PiGRRL 2" \
52 52
         "Pocket PiGRRL" \
53 53
         "PiGRRL Zero" \
54
-        "Cupcade (horizontal)" \
55
-        "Cupcade (vertical)" \
54
+        "Cupcade (horizontal screen)" \
55
+        "Cupcade (vertical screen)" \
56 56
         "Configure options manually"
57 57
 PROJ_SELECT=$?
58 58
 
@@ -72,7 +72,7 @@ if [ $PROJ_SELECT -lt 6 ]; then
72 72
 	# 3 elements per project; first is index (1+) into
73 73
 	# PITFT_VALUES, second and third are index into
74 74
 	# FBROTATE_VALUES and TFTROTATE_VALUES:
75
-	PROJ_VALUES=(2 1 4   1 1 4   1 1 4   2 0 2   2 1 2)
75
+	PROJ_VALUES=(2 1 4   1 1 4   1 1 4   2 1 2   2 2 2)
76 76
 	# FBROTATE index is almost always 1, except for HDMI portrait mode
77 77
 
78 78
 	PITFT_SELECT=${PROJ_VALUES[($PROJ_SELECT-1)*3]}

Loading…
Cancel
Save