mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-08 06:32:35 -04:00
More btle improvements (#1549)
* Cleanup of BLE Rx naming and added switching between the two. Fixed bug in packet count not resetting when opening new file in BLE Tx * Bug fix and color change.
This commit is contained in:
parent
f67fe262bb
commit
1639348b94
9 changed files with 41 additions and 15 deletions
|
@ -154,6 +154,7 @@ class BLETxView : public View {
|
|||
PKT_TYPE pduType = {DISCOVERY};
|
||||
|
||||
static constexpr auto header_height = 9 * 16;
|
||||
static constexpr auto switch_button_height = 3 * 16;
|
||||
|
||||
Button button_open{
|
||||
{0 * 8, 0 * 16, 10 * 8, 2 * 16},
|
||||
|
@ -249,6 +250,10 @@ class BLETxView : public View {
|
|||
Console console{
|
||||
{0, 8 * 16, 240, 240}};
|
||||
|
||||
Button button_switch{
|
||||
{8 * 8, 16 * 16, 14 * 8, 2 * 16},
|
||||
"Switch to Rx"};
|
||||
|
||||
std::string str_log{""};
|
||||
bool logging{true};
|
||||
bool logging_done{false};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue