Added more sane defaults to tx watchdog. Fixed bug in relay disabled when no relay required

This commit is contained in:
Jordan Sherer
2018-09-11 11:20:17 -04:00
parent df0b06ccb7
commit fddca6522e
3 changed files with 20 additions and 5 deletions
+3
View File
@@ -1587,6 +1587,9 @@ void Configuration::impl::read_settings ()
disable_TX_on_73_ = settings_->value ("73TxDisable", false).toBool ();
beacon_ = settings_->value ("TxBeacon", 30).toInt ();
watchdog_ = settings_->value ("TxWatchdog", 0).toInt ();
if(watchdog_){
watchdog_ = qMax(5, watchdog_);
}
TX_messages_ = settings_->value ("Tx2QSO", true).toBool ();
enable_VHF_features_ = settings_->value("VHFUHF",false).toBool ();
decode_at_52s_ = settings_->value("Decode52",false).toBool ();