melkati / CO2-Gadget

An advanced CO2 Monitor/Meter firmware for ESP32 with Android and iOS App for real time visualization and charting of air data, data logger, a variety of communication options (BLE, WIFI, MQTT, ESP-Now) and many supported sensors.
https://emariete.com/medidor-co2-gadget/
GNU General Public License v3.0
68 stars 14 forks source link

It's not neccesary read CPU frecuency in each loop #195

Closed Coscolin closed 7 months ago

Coscolin commented 8 months ago

I think is better to move this line to setup() function https://github.com/melkati/CO2-Gadget/blob/95fcd60b3a61de60b62eaf9759ea59b708952b85/CO2_Gadget.ino#L557

and change value inside setCpuFrequencyAndReinitSerial() function

melkati commented 7 months ago

Will revisit it after we have the low power version ready.