Skip to content

Commit 5ac3c36

Browse files
authored
Merge pull request #3450 from mdroberts1243/New_quirk_for_SH1107
New quirk for sh1107
2 parents 2ac2f62 + ef245ef commit 5ac3c36

File tree

26 files changed

+99
-29
lines changed

26 files changed

+99
-29
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ TAGS
8080
*.mo
8181

8282
.vscode
83+
.idea
8384

8485
# Python Virtual Environments
8586
####################

ports/atmel-samd/boards/hallowing_m0_express/board.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ void board_init(void) {
110110
false, // data_as_commands
111111
true, // auto_refresh
112112
60, // native_frames_per_second
113-
true); // backlight_on_high
113+
true, // backlight_on_high
114+
false); // not SH1107
114115
}
115116

116117
bool board_requests_safe_mode(void) {

ports/atmel-samd/boards/hallowing_m4_express/board.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ void board_init(void) {
9191
false, // data_as_commands
9292
true, // auto_refresh
9393
60, // native_frames_per_second
94-
true); // backlight_on_high
94+
true, // backlight_on_high
95+
false); // not SH1107
9596
}
9697

9798
bool board_requests_safe_mode(void) {

ports/atmel-samd/boards/monster_m4sk/board.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ void board_init(void) {
9292
false, // data_as_commands
9393
true, // auto_refresh
9494
60, // native_frames_per_second
95-
true); // backlight_on_high
95+
true, // backlight_on_high
96+
false); // SH1107_addressing
9697
}
9798

9899
bool board_requests_safe_mode(void) {

ports/atmel-samd/boards/pewpew_m4/board.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ void board_init(void) {
143143
false, // data_as_commands
144144
false, // auto_refresh
145145
20, // native_frames_per_second
146-
true); // backlight_on_high
146+
true, // backlight_on_high
147+
false); // SH1107_addressing
147148
}
148149

149150
bool board_requests_safe_mode(void) {

ports/atmel-samd/boards/pybadge/board.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ void board_init(void) {
114114
false, // data_as_commands
115115
true, // auto_refresh
116116
60, // native_frames_per_second
117-
true); // backlight_on_high
117+
true, // backlight_on_high
118+
false); // SH1107_addressing
118119
}
119120

120121
bool board_requests_safe_mode(void) {

ports/atmel-samd/boards/pybadge_airlift/board.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ void board_init(void) {
9292
false, // data_as_commands
9393
true, // auto_refresh
9494
60, // native_frames_per_second
95-
true); // backlight_on_high
95+
true, // backlight_on_high
96+
false); // SH1107_addressing
9697
}
9798

9899
bool board_requests_safe_mode(void) {

ports/atmel-samd/boards/pygamer/board.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ void board_init(void) {
114114
false, // data_as_commands
115115
true, // auto_refresh
116116
60, // native_frames_per_second
117-
true); // backlight_on_high
117+
true, // backlight_on_high
118+
false); // SH1107_addressing
118119
}
119120

120121
bool board_requests_safe_mode(void) {

ports/atmel-samd/boards/pygamer_advance/board.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ void board_init(void) {
9292
false, // data_as_commands
9393
true, // auto_refresh
9494
60, // native_frames_per_second
95-
true); // backlight_on_high
95+
true, // backlight_on_high
96+
false); // SH1107_addressing
9697
}
9798

9899
bool board_requests_safe_mode(void) {

ports/atmel-samd/boards/pyportal/board.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ void board_init(void) {
100100
false, // data_as_commands
101101
true, // auto_refresh
102102
60, // native_frames_per_second
103-
true); // backlight_on_high
103+
true, // backlight_on_high
104+
false); // SH1107_addressing
104105
}
105106

106107
bool board_requests_safe_mode(void) {

0 commit comments

Comments
 (0)