mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-12 08:26:38 +02:00
minor design corrections
fix onkeyup / onchange event while typing / copying serial number to setup
This commit is contained in:
parent
bafe47e424
commit
1a57b23f5b
4 changed files with 37 additions and 29 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue