ref: 311bb1878f5a59849d79403fff5492fce814361a
parent: 959260e191de24bcb49469d41a91a61d14bc94df
author: Jonne Kokkonen <jonne.kokkonen@gmail.com>
date: Sun Jul 4 17:29:14 EDT 2021
disable automatic display reset to avoid a softlock in command list view
--- a/main.c
+++ b/main.c
@@ -112,7 +112,8 @@
int n = slip_read_byte(&slip, rx);
if (n != SLIP_NO_ERROR) { if (n == SLIP_ERROR_INVALID_PACKET) {- reset_display(port);
+ // Reset display on invalid packets. On current firmwares this can cause a softlock in effect list so this is commented out for now.
+ //reset_display(port);
} else {SDL_LogError(SDL_LOG_CATEGORY_ERROR, "SLIP error %d\n", n);
}
@@ -135,4 +136,4 @@
free(serial_buf);
return 0;
-}
\ No newline at end of file
+}
--
⑨