Remove SD card debug "detected" field.

This commit is contained in:
Jared Boone 2016-05-09 22:42:54 -07:00
parent 51b680c3bd
commit cc9c5acc3c
2 changed files with 0 additions and 16 deletions

View File

@ -227,8 +227,6 @@ namespace ui {
SDCardDebugView::SDCardDebugView(NavigationView& nav) {
add_children({ {
&text_title,
&text_detected_title,
&text_detected_value,
&text_bus_width_title,
&text_bus_width_value,
&text_card_mode_title,
@ -305,8 +303,6 @@ void SDCardDebugView::on_status(const sd_card::Status) {
text_test_read_rate_value.set("");
const bool is_inserted = sdcIsCardInserted(&SDCD1);
text_detected_value.set(is_inserted ? "Yes" : " No");
if( is_inserted ) {
const auto card_width_flags = LPC_SDMMC->CTYPE & 0x10001;
size_t card_width = 0;

View File

@ -49,18 +49,6 @@ private:
"SD Card",
};
static constexpr size_t detected_characters = 3;
Text text_detected_title {
{ 0, 3 * 16, (8 * 8), 16 },
"Detected",
};
Text text_detected_value {
{ 240 - (detected_characters * 8), 3 * 16, (detected_characters * 8), 16 },
"",
};
static constexpr size_t bus_width_characters = 1;
Text text_bus_width_title {