mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-25 05:46:59 +02:00
* fix #195: used trim() to remove leading and trailing spaces, added maxlength attr to input field
* started to work on #209: added another timer for NTP update after configurable interval (default 12h)
This commit is contained in:
parent
4796555fac
commit
2bfb6467e0
9 changed files with 22 additions and 21 deletions
|
@ -72,12 +72,15 @@
|
|||
// threshold of minimum power on which the inverter is marked as inactive
|
||||
#define INACT_PWR_THRESH 3
|
||||
|
||||
// default ntp server uri
|
||||
// default NTP server uri
|
||||
#define DEF_NTP_SERVER_NAME "pool.ntp.org"
|
||||
|
||||
// default ntp server port
|
||||
// default NTP server port
|
||||
#define DEF_NTP_PORT 8888
|
||||
|
||||
// NTP refresh interval in ms (default 12h)
|
||||
#define NTP_REFRESH_INTERVAL 12 * 3600 * 1000
|
||||
|
||||
// default mqtt interval
|
||||
#define MQTT_INTERVAL 60
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue