Skip to content

Commit 9e585ef

Browse files
committed
Account for 270 degree changes
1 parent 6631588 commit 9e585ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Raspberry_Pi_Braincraft_Radio/setup-kiosk.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ def detect_rotation():
8888
break
8989
if param_hdmi == 3:
9090
return 180
91+
if param_hdmi == 2:
92+
return 270
9193
if param_hdmi == 1:
9294
return 0
9395
return param_rotation

0 commit comments

Comments
 (0)