cleaned up module ack switch

pull/14/head
Tom Early 6 years ago
parent 7566f9123b
commit b6d3fe47b5

@ -89,7 +89,7 @@ static int RF_AUDIO_Level = 10;
static bool DUPLEX = true;
static int ACK_DELAY = 200000;
static int DELAY_BETWEEN = 20000;
static bool RPTR_ACK = true;
static bool RPTR_ACK = false;
static char ENABLE_RF[CALL_SIZE + 1];
static char DISABLE_RF[CALL_SIZE + 1];
static bool IS_ENABLED = true;
@ -1423,7 +1423,7 @@ static bool ReadConfig(const char *cfgFile)
cfg.GetValue(path+"_acknowledge", type, RPTR_ACK);
cfg.GetValue(path+"_ack_delay", type, ACK_DELAY, 1, 999);
ACK_DELAY *= 1000; // from milliseconds to seconds
ACK_DELAY *= 1000; // from milliseconds to mircroseconds
cfg.GetValue(path+"_tx_delay", type, TX_DELAY, 0, 6000);
Modem_Init2[8] = TX_DELAY & 0xFF;

@ -3028,7 +3028,8 @@ void CQnetLink::Process()
qnDB.ClearGW();
LoadGateways(gwys);
loadG[i] = false;
rptr_ack(i);
if (bool_rptr_ack)
rptr_ack(i);
}
}
}

Loading…
Cancel
Save

Powered by TurnKey Linux.