mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-15 05:02:13 -04:00
Remove SD card statuc handler in ReceiverView.
Wasn't doing anything useful, and probably won't.
This commit is contained in:
parent
e9bf500bfc
commit
eb10532931
2 changed files with 0 additions and 25 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue