mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-25 05:46:59 +02:00
add sane defaults for MIN_SERIAL/SEND/MQTT_INTERVAL 5/30/60 seconds
respectively
This commit is contained in:
parent
100256578d
commit
d4ba302307
2 changed files with 18 additions and 9 deletions
|
@ -37,6 +37,15 @@
|
|||
// number of configurable inverters
|
||||
#define MAX_NUM_INVERTERS 3
|
||||
|
||||
// minimum serial interval
|
||||
#define MIN_SERIAL_INTERVAL 5
|
||||
|
||||
// minimum send interval
|
||||
#define MIN_SEND_INTERVAL 30
|
||||
|
||||
// minimum mqtt interval
|
||||
#define MIN_MQTT_INTERVAL 60
|
||||
|
||||
// maximum human readable inverter name length
|
||||
#define MAX_NAME_LENGTH 16
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue