Merge pull request #908 from zxkmm/ready_to_pr_20230423_fix_stealth_in_replay

fix stealth doesn't work
This commit is contained in:
jLynx 2023-04-23 21:11:45 +12:00 committed by GitHub
commit d00c21adb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,6 +165,12 @@ void ReplayAppView::start() {
static_cast<int8_t>(receiver_model.lna()),
static_cast<int8_t>(receiver_model.vga())
});
if (portapack::persistent_memory::stealth_mode()){
DisplaySleepMessage message;
EventDispatcher::send_message(message);
}
}
void ReplayAppView::stop(const bool do_loop) {