Skip to content

Commit 311bb18

Browse files
committed
disable automatic display reset to avoid a softlock in command list view
1 parent 959260e commit 311bb18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

main.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ int main(int argc, char *argv[]) {
112112
int n = slip_read_byte(&slip, rx);
113113
if (n != SLIP_NO_ERROR) {
114114
if (n == SLIP_ERROR_INVALID_PACKET) {
115-
reset_display(port);
115+
// Reset display on invalid packets. On current firmwares this can cause a softlock in effect list so this is commented out for now.
116+
//reset_display(port);
116117
} else {
117118
SDL_LogError(SDL_LOG_CATEGORY_ERROR, "SLIP error %d\n", n);
118119
}
@@ -135,4 +136,4 @@ int main(int argc, char *argv[]) {
135136
free(serial_buf);
136137

137138
return 0;
138-
}
139+
}

0 commit comments

Comments
 (0)