BLE: Minor improvements to fix occasional not start on tx app first time. (#1605)

This commit is contained in:
Netro 2023-11-27 15:59:29 -05:00 committed by GitHub
parent 7bc27038be
commit 175e5e2e8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 20 deletions

View file

@ -108,6 +108,7 @@ class BLETxView : public View {
void toggle();
void start();
void stop();
void reset();
void handle_replay_thread_done(const uint32_t return_code);
void file_error();
bool saveFile(const std::filesystem::path& path);
@ -142,7 +143,6 @@ class BLETxView : public View {
char randomMac[13] = "010203040506";
bool is_running = false;
bool is_sending = false;
uint64_t timer_count{0};
int16_t timer_period{1};
bool repeatLoop = false;