Minor bug fix

- Key press & touch isolation
This commit is contained in:
dqs105 2020-08-24 11:09:10 +08:00
parent 911eb36210
commit 7d6fb56c7e

View File

@ -397,7 +397,9 @@ MicTXView::MicTXView(
}; };
tx_button.on_touch_press = [this](Button&) { tx_button.on_touch_press = [this](Button&) {
button_touch = true; if(!transmitting) {
button_touch = true;
}
}; };
transmitter_model.set_sampling_rate(sampling_rate); transmitter_model.set_sampling_rate(sampling_rate);