Fixed beacon queue reset on beacon toggle
This commit is contained in:
parent
3c8c80a5d7
commit
ca79a450ca
@ -7943,6 +7943,9 @@ void MainWindow::on_pbT2R_clicked()
|
|||||||
void MainWindow::on_beaconButton_clicked()
|
void MainWindow::on_beaconButton_clicked()
|
||||||
{
|
{
|
||||||
if(ui->beaconButton->isChecked()){
|
if(ui->beaconButton->isChecked()){
|
||||||
|
// clear the beacon queue when you turn it on.
|
||||||
|
m_txBeaconQueue.clear();
|
||||||
|
// then schedule the next beacon
|
||||||
scheduleBeacon(true);
|
scheduleBeacon(true);
|
||||||
} else {
|
} else {
|
||||||
pauseBeacon();
|
pauseBeacon();
|
||||||
|
Loading…
Reference in New Issue
Block a user