Dont reset the beacon at a 1 minute interval

This commit is contained in:
Jordan Sherer
2018-07-26 20:51:02 -04:00
parent 371aa1e20c
commit bf11d66f60
+3 -3
View File
@@ -5799,7 +5799,7 @@ bool MainWindow::prepareNextMessageFrame()
if(ui->beaconButton->isChecked()){ if(ui->beaconButton->isChecked()){
// bump beacon // bump beacon
scheduleBacon(true); scheduleBacon(false);
} }
return true; return true;
@@ -5926,7 +5926,7 @@ void MainWindow::prepareBacon(){
m_lastTxTime.secsTo(QDateTime::currentDateTimeUtc()) < 30 m_lastTxTime.secsTo(QDateTime::currentDateTimeUtc()) < 30
){ ){
if(ui->beaconButton->isChecked()){ if(ui->beaconButton->isChecked()){
scheduleBacon(true); scheduleBacon(false);
} }
return; return;
} }
@@ -5968,7 +5968,7 @@ void MainWindow::prepareBacon(){
ui->startTxButton->setChecked(true); ui->startTxButton->setChecked(true);
scheduleBacon(); scheduleBacon(false);
} }