Browse Source

tty.cpp: initialize TTY::rx.rlen

Missing initializer...
H. Peter Anvin 2 years ago
parent
commit
ab483f5e20
4 changed files with 1 additions and 0 deletions
  1. 1 0
      esp32/max80/tty.cpp
  2. BIN
      esp32/output/max80.ino.bin
  3. BIN
      fpga/output/v1.fw
  4. BIN
      fpga/output/v2.fw

+ 1 - 0
esp32/max80/tty.cpp

@@ -39,6 +39,7 @@ static const char fwupload_start[] =
 
 void TTY::reset()
 {
+    rx.rlen   = 0;
     rx.state  = rx_state::normal;
 }
 

BIN
esp32/output/max80.ino.bin


BIN
fpga/output/v1.fw


BIN
fpga/output/v2.fw