Remove SD card statuc handler in ReceiverView.

Wasn't doing anything useful, and probably won't.
This commit is contained in:
Jared Boone 2015-12-01 21:27:14 -08:00
parent e9bf500bfc
commit eb10532931
2 changed files with 0 additions and 25 deletions

View file

@ -29,7 +29,6 @@ using namespace portapack;
#include "ais_baseband.hpp"
#include "sd_card.hpp"
#include "ff.h"
namespace ui {
@ -498,16 +497,6 @@ ReceiverView::~ReceiverView() {
receiver_model.disable();
}
void ReceiverView::on_show() {
sd_card_status_signal_token = sd_card::status_signal += [this](const sd_card::Status status) {
this->on_sd_card_status(status);
};
}
void ReceiverView::on_hide() {
sd_card::status_signal -= sd_card_status_signal_token;
}
class ManchesterDecoder {
public:
struct DecodedSymbol {
@ -832,14 +821,6 @@ private:
SpectrumAnalysisModel model;
};
void ReceiverView::on_sd_card_status(const sd_card::Status status) {
if( status == sd_card::Status::Mounted ) {
// TODO: Something?
} else {
// TODO: Indicate unmounted.
}
}
void ReceiverView::focus() {
button_done.focus();
}