Remove baseband::start()/stop() and related message.

This commit is contained in:
Jared Boone 2016-07-19 17:06:22 -07:00
parent 3c46abdb24
commit 74b5571e8b
8 changed files with 0 additions and 61 deletions

View file

@ -77,12 +77,6 @@ CaptureAppView::CaptureAppView(NavigationView& nav) {
1,
});
baseband::start({
.mode = toUType(ReceiverModel::Mode::Capture),
.sampling_rate = sampling_rate,
.decimation_factor = 1,
});
record_view.set_sampling_rate(sampling_rate / 8);
record_view.on_error = [&nav](std::string message) {
nav.display_modal("Error", message);
@ -90,7 +84,6 @@ CaptureAppView::CaptureAppView(NavigationView& nav) {
}
CaptureAppView::~CaptureAppView() {
baseband::stop();
radio::disable();
baseband::shutdown();