Closed melkati closed 7 months ago
looks like the issue is related to the serial port TX filling and slowing down on new data.
If I avoid writing the menu to serial port, it works fine.
To do so, modify this line:
As:
menuOut *constMEM outputs[] MEMMODE = {&eSpiOut};
If serial communication does not start after boot (because there was never a serial port) it does not happen. It's only when you remove the serial port after it's receiving data.
I implemented some fixes on v.0.12.006-beta #186
@Coscolin already tested the fix. Looks like it's working fine.
Available on web installer at https://emariete.com/en/co2-meter-gadget/#CO2_Gadget_Version_Beta-Desarrollo until it's merged into master and a new release published (after some feedback from users have been received).
To reproduce:
I make sure nothing is connected to CO2 Gadget from the PC (platformio connects automatically if the terminal is open) and:
It appears like the menu system is working extremely slow (around 5-15 seconds to respond to a button press). Really everything is working extremely slow.