minor design corrections

fix onkeyup / onchange event while typing / copying serial number to setup
This commit is contained in:
lumapu 2022-10-24 20:50:49 +02:00
parent bafe47e424
commit 1a57b23f5b
4 changed files with 37 additions and 29 deletions

View file

@ -895,6 +895,7 @@ void app::setupMqtt(void) {
}
}
//-----------------------------------------------------------------------------
void app::resetPayload(Inverter<>* iv) {
DPRINTLN(DBG_INFO, "resetPayload: id: " + String(iv->id));
@ -907,6 +908,8 @@ void app::resetPayload(Inverter<>* iv) {
mPayload[iv->id].ts = mUtcTimestamp;
}
//-----------------------------------------------------------------------------
void app::calculateSunriseSunset() {
// Source: https://en.wikipedia.org/wiki/Sunrise_equation#Complete_calculation_on_Earth