diff options
-rw-r--r-- | apps/debug_menu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 828b881b53..a43dd0a768 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -1540,6 +1540,11 @@ static int disk_callback(int btn, struct gui_synclist *lists) | |||
1540 | "Nsac: %d clk", card->nsac); | 1540 | "Nsac: %d clk", card->nsac); |
1541 | simplelist_addline(SIMPLELIST_ADD_LINE, | 1541 | simplelist_addline(SIMPLELIST_ADD_LINE, |
1542 | "R2W: *%d", card->r2w_factor); | 1542 | "R2W: *%d", card->r2w_factor); |
1543 | #if (CONFIG_STORAGE & STORAGE_SD) | ||
1544 | int csd_structure = card_extract_bits(card->csd, 127, 2); | ||
1545 | if (csd_structure == 0) /* CSD version 1.0 */ | ||
1546 | #endif | ||
1547 | { | ||
1543 | simplelist_addline(SIMPLELIST_ADD_LINE, | 1548 | simplelist_addline(SIMPLELIST_ADD_LINE, |
1544 | "IRmax: %d..%d mA", | 1549 | "IRmax: %d..%d mA", |
1545 | i_vmin[card_extract_bits(card->csd, 61, 3)], | 1550 | i_vmin[card_extract_bits(card->csd, 61, 3)], |
@@ -1548,6 +1553,7 @@ static int disk_callback(int btn, struct gui_synclist *lists) | |||
1548 | "IWmax: %d..%d mA", | 1553 | "IWmax: %d..%d mA", |
1549 | i_vmin[card_extract_bits(card->csd, 55, 3)], | 1554 | i_vmin[card_extract_bits(card->csd, 55, 3)], |
1550 | i_vmax[card_extract_bits(card->csd, 52, 3)]); | 1555 | i_vmax[card_extract_bits(card->csd, 52, 3)]); |
1556 | } | ||
1551 | } | 1557 | } |
1552 | else if (card->initialized == 0) | 1558 | else if (card->initialized == 0) |
1553 | { | 1559 | { |