Kaynağa Gözat

tty.cpp: initialize TTY::rx.rlen

Missing initializer...
H. Peter Anvin 2 yıl önce
ebeveyn
işleme
ab483f5e20

+ 1 - 0
esp32/max80/tty.cpp

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

BIN
esp32/output/max80.ino.bin


BIN
fpga/output/v1.fw


BIN
fpga/output/v2.fw