mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-11-16 07:23:21 +00: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:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user