mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-27 01:49:04 +00:00
Display modal error when RecordView experiences an error.
This commit is contained in:
@@ -139,6 +139,10 @@ AnalogAudioView::AnalogAudioView(
|
||||
this->on_headphone_volume_changed(v);
|
||||
};
|
||||
|
||||
record_view.on_error = [&nav](std::string message) {
|
||||
nav.push<ModalMessageView>(message);
|
||||
};
|
||||
|
||||
audio::output::start();
|
||||
|
||||
update_modulation(static_cast<ReceiverModel::Mode>(modulation));
|
||||
|
||||
Reference in New Issue
Block a user