summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2020-07-29 13:46:10 -0400
committerJoey Castillo <jose.castillo@gmail.com>2020-07-29 13:46:10 -0400
commitea9bc9b4b64e276e0fa00b3d0c4c48579533a66b (patch)
tree932fd6bfea00f4ceb83121a5e1ab1dcfa8afb0aa
parent5cb7e64cc88656dec51d6aa06e92b0392a247f71 (diff)
set screen orientation to portrait
-rw-r--r--ports/atmel-samd/boards/openbook_m4/board.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ports/atmel-samd/boards/openbook_m4/board.c b/ports/atmel-samd/boards/openbook_m4/board.c
index 9c71ee564..f0010f6d7 100644
--- a/ports/atmel-samd/boards/openbook_m4/board.c
+++ b/ports/atmel-samd/boards/openbook_m4/board.c
@@ -76,13 +76,13 @@ void board_init(void) {
sizeof(start_sequence),
stop_sequence,
sizeof(stop_sequence),
- 400, // width
- 300, // height
- 400, // RAM width
- 300, // RAM height
+ 300, // width
+ 400, // height
+ 300, // RAM width
+ 400, // RAM height
0, // colstart
0, // rowstart
- 0, // rotation
+ 270, // rotation
NO_COMMAND, // set_column_window_command
NO_COMMAND, // set_row_window_command
NO_COMMAND, // set_current_column_command