mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 19:54:39 +00:00
fix stealth doesn't work
This commit is contained in:
parent
cd1f1bd388
commit
925c1548a8
@ -161,10 +161,16 @@ void ReplayAppView::start() {
|
|||||||
sample_rate * 8,
|
sample_rate * 8,
|
||||||
baseband_bandwidth,
|
baseband_bandwidth,
|
||||||
rf::Direction::Transmit,
|
rf::Direction::Transmit,
|
||||||
rf_amp, // previous code line : "receiver_model.rf_amp()," was passing the same rf_amp of all Receiver Apps
|
rf_amp, // previous code line : "receiver_model.rf_amp()," was passing the same rf_amp of all Receiver Apps
|
||||||
static_cast<int8_t>(receiver_model.lna()),
|
static_cast<int8_t>(receiver_model.lna()),
|
||||||
static_cast<int8_t>(receiver_model.vga())
|
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) {
|
void ReplayAppView::stop(const bool do_loop) {
|
||||||
|
Loading…
Reference in New Issue
Block a user