diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 97bd698871..ab2f2821b2 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -1910,20 +1910,20 @@ static int disk_callback(int btn, struct gui_synclist *lists) | |||
1910 | strncpy(card_name, ((unsigned char*)card->cid) + 3, 6); | 1910 | strncpy(card_name, ((unsigned char*)card->cid) + 3, 6); |
1911 | simplelist_addline(SIMPLELIST_ADD_LINE, | 1911 | simplelist_addline(SIMPLELIST_ADD_LINE, |
1912 | "%s Rev %d.%d", card_name, | 1912 | "%s Rev %d.%d", card_name, |
1913 | (int) card_extract_bits(card->cid, 72, 4), | 1913 | (int) card_extract_bits(card->cid, 55, 4), |
1914 | (int) card_extract_bits(card->cid, 76, 4)); | 1914 | (int) card_extract_bits(card->cid, 51, 4)); |
1915 | simplelist_addline(SIMPLELIST_ADD_LINE, | 1915 | simplelist_addline(SIMPLELIST_ADD_LINE, |
1916 | "Prod: %d/%d", | 1916 | "Prod: %d/%d", |
1917 | (int) card_extract_bits(card->cid, 112, 4), | 1917 | (int) card_extract_bits(card->cid, 15, 4), |
1918 | (int) card_extract_bits(card->cid, 116, 4) + 1997); | 1918 | (int) card_extract_bits(card->cid, 11, 4) + 1997); |
1919 | simplelist_addline(SIMPLELIST_ADD_LINE, | 1919 | simplelist_addline(SIMPLELIST_ADD_LINE, |
1920 | "Ser#: 0x%08lx", | 1920 | "Ser#: 0x%08lx", |
1921 | card_extract_bits(card->cid, 80, 32)); | 1921 | card_extract_bits(card->cid, 47, 32)); |
1922 | simplelist_addline(SIMPLELIST_ADD_LINE, | 1922 | simplelist_addline(SIMPLELIST_ADD_LINE, |
1923 | "M=%02x, O=%04x", | 1923 | "M=%02x, O=%04x", |
1924 | (int) card_extract_bits(card->cid, 0, 8), | 1924 | (int) card_extract_bits(card->cid, 127, 8), |
1925 | (int) card_extract_bits(card->cid, 8, 16)); | 1925 | (int) card_extract_bits(card->cid, 119, 16)); |
1926 | int temp = card_extract_bits(card->csd, 2, 4); | 1926 | int temp = card_extract_bits(card->csd, 125, 4); |
1927 | simplelist_addline(SIMPLELIST_ADD_LINE, | 1927 | simplelist_addline(SIMPLELIST_ADD_LINE, |
1928 | CARDTYPE " v%s", temp < 5 ? | 1928 | CARDTYPE " v%s", temp < 5 ? |
1929 | spec_vers[temp] : "?.?"); | 1929 | spec_vers[temp] : "?.?"); |
@@ -1943,12 +1943,12 @@ static int disk_callback(int btn, struct gui_synclist *lists) | |||
1943 | "R2W: *%d", card->r2w_factor); | 1943 | "R2W: *%d", card->r2w_factor); |
1944 | simplelist_addline(SIMPLELIST_ADD_LINE, | 1944 | simplelist_addline(SIMPLELIST_ADD_LINE, |
1945 | "IRmax: %d..%d mA", | 1945 | "IRmax: %d..%d mA", |
1946 | i_vmin[card_extract_bits(card->csd, 66, 3)], | 1946 | i_vmin[card_extract_bits(card->csd, 61, 3)], |
1947 | i_vmax[card_extract_bits(card->csd, 69, 3)]); | 1947 | i_vmax[card_extract_bits(card->csd, 58, 3)]); |
1948 | simplelist_addline(SIMPLELIST_ADD_LINE, | 1948 | simplelist_addline(SIMPLELIST_ADD_LINE, |
1949 | "IWmax: %d..%d mA", | 1949 | "IWmax: %d..%d mA", |
1950 | i_vmin[card_extract_bits(card->csd, 72, 3)], | 1950 | i_vmin[card_extract_bits(card->csd, 55, 3)], |
1951 | i_vmax[card_extract_bits(card->csd, 75, 3)]); | 1951 | i_vmax[card_extract_bits(card->csd, 52, 3)]); |
1952 | } | 1952 | } |
1953 | else if (card->initialized == 0) | 1953 | else if (card->initialized == 0) |
1954 | { | 1954 | { |