summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2022-06-24 17:25:23 -0700
committerH. Peter Anvin <hpa@zytor.com>2022-06-24 17:25:23 -0700
commitab483f5e20b5366a8b7d6de7855567ee54fcc4f4 (patch)
treec4c6f3394fff3277ee59eec633c67cb763103e29
parent8f013f9ea92d7586cc3921acb3cceb878abd4beb (diff)
downloadblinktest-ab483f5e20b5366a8b7d6de7855567ee54fcc4f4.tar.gz
blinktest-ab483f5e20b5366a8b7d6de7855567ee54fcc4f4.tar.xz
blinktest-ab483f5e20b5366a8b7d6de7855567ee54fcc4f4.zip
tty.cpp: initialize TTY::rx.rlen
Missing initializer...
-rw-r--r--esp32/max80/tty.cpp1
-rw-r--r--esp32/output/max80.ino.binbin788928 -> 788928 bytes
-rw-r--r--fpga/output/v1.fwbin754342 -> 754345 bytes
-rw-r--r--fpga/output/v2.fwbin754988 -> 754973 bytes
4 files changed, 1 insertions, 0 deletions
diff --git a/esp32/max80/tty.cpp b/esp32/max80/tty.cpp
index 6671dcc..acdf516 100644
--- a/esp32/max80/tty.cpp
+++ b/esp32/max80/tty.cpp
@@ -39,6 +39,7 @@ static const char fwupload_start[] =
void TTY::reset()
{
+ rx.rlen = 0;
rx.state = rx_state::normal;
}
diff --git a/esp32/output/max80.ino.bin b/esp32/output/max80.ino.bin
index 1c59ce0..2789b0c 100644
--- a/esp32/output/max80.ino.bin
+++ b/esp32/output/max80.ino.bin
Binary files differ
diff --git a/fpga/output/v1.fw b/fpga/output/v1.fw
index bb39979..13a83ae 100644
--- a/fpga/output/v1.fw
+++ b/fpga/output/v1.fw
Binary files differ
diff --git a/fpga/output/v2.fw b/fpga/output/v2.fw
index 13e2483..b22e2ac 100644
--- a/fpga/output/v2.fw
+++ b/fpga/output/v2.fw
Binary files differ