Browse Source

minor changes

pull/478/head
golfi200 2 years ago
parent
commit
da68fed377
  1. 2
      tools/nano/AhoyUL/.gitignore
  2. 2
      tools/nano/AhoyUL/src/config.h
  3. 1
      tools/nano/AhoyUL/src/main.cpp

2
tools/nano/AhoyUL/.gitignore

@ -5,4 +5,6 @@
.vscode/ipch
.log
config_override.h
smac_examples.txt

2
tools/nano/AhoyUL/src/config.h

@ -45,7 +45,7 @@
// default send interval
#define SEND_INTERVAL (60) //send interval if Rx OK
#define SEND_NOSIGNAL_SHORT (10) //short send interval if no RX (used initial sync or signal loss)
#define SEND_REPEAT (5) //number of tries of short send interval to sync faster to inverter after night
#define SEND_REPEAT (6) //number of tries of short send interval to sync faster to inverter after night
#define SEND_NOSIGNAL_LONG (20*60) //long TX interval whne no SIGNAL for long time, e.g. over night
// maximum human readable inverter name length

1
tools/nano/AhoyUL/src/main.cpp

@ -852,6 +852,7 @@ void mSwitchCasesSer(char _inSer) {
uint8_t invID5[5] = {0x01, 0x44, 0x33, 0x22, 0x11};
mParams = utSer.getParamsBuf();
tmp8 = utSer.read_uart_cmd_param(mParams);
mCountdown_noSignal = SEND_REPEAT; //trigger sending if before no resonse
if (tmp8 > 0) {
// get polling interval from first parameter

Loading…
Cancel
Save