diff --git a/frontend/device/kindle/device.lua b/frontend/device/kindle/device.lua index 99c2ceff5..ff66b5a35 100644 --- a/frontend/device/kindle/device.lua +++ b/frontend/device/kindle/device.lua @@ -1399,14 +1399,10 @@ function KindleScribe:init() logger.dbg("orientation_code =", orientation_code) local rotation_mode = 0 if orientation_code then - if orientation_code == "U" then + if orientation_code == "U" or "L" then rotation_mode = self.screen.DEVICE_ROTATED_UPRIGHT - elseif orientation_code == "R" then - rotation_mode = self.screen.DEVICE_ROTATED_CLOCKWISE - elseif orientation_code == "D" then + elseif orientation_code == "D" or "R" then rotation_mode = self.screen.DEVICE_ROTATED_UPSIDE_DOWN - elseif orientation_code == "L" then - rotation_mode = self.screen.DEVICE_ROTATED_COUNTER_CLOCKWISE end end if rotation_mode > 0 then