Merged TxButton and Button & minor bug fix

This commit is contained in:
dqs105
2020-08-24 11:02:42 +08:00
parent d7568b820d
commit 911eb36210
4 changed files with 38 additions and 140 deletions

View File

@@ -97,7 +97,7 @@ private:
rf::Frequency tx_frequency { 0 };
rf::Frequency rx_frequency { 0 };
int32_t focused_ui { 2 };
bool button_touch { true };
bool button_touch { false };
Labels labels {
@@ -267,9 +267,10 @@ private:
' ',
};
TxButton tx_button {
Button tx_button {
{ 10 * 8, 30 * 8, 10 * 8, 5 * 8 },
"TX"
"TX",
true
};