Read SD card status in SDCardStatusView constructor.

View was not showing correct status if card was present at boot.
This commit is contained in:
Jared Boone 2016-01-15 15:31:32 -08:00
parent 5ddb99237e
commit 8fa8a26298

View File

@ -33,7 +33,7 @@ SDCardStatusView::SDCardStatusView() {
&text_status,
} });
text_status.set("XX");
on_status(sd_card::status());
}
void SDCardStatusView::on_show() {