mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-17 12:07:38 -04:00
M:Robe 500 TSC2100 Debug: Use hex values instead of binary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29214 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8bfaac7672
commit
243aedec2d
1 changed files with 3 additions and 3 deletions
|
@ -1090,10 +1090,10 @@ static const char* tsc2100_debug_getname(int selected_item, void * data,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (reserved)
|
if (reserved)
|
||||||
snprintf(buffer, buffer_len, "%02x: RESERVED", selected_item);
|
snprintf(buffer, buffer_len, "%02x: RSVD", selected_item);
|
||||||
else
|
else
|
||||||
snprintf(buffer, buffer_len, "%02x: %s", selected_item,
|
snprintf(buffer, buffer_len, "%02x: %04x", selected_item,
|
||||||
itob(tsc2100_readreg(*page, selected_item)&0xffff,16));
|
tsc2100_readreg(*page, selected_item)&0xffff);
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
static int tsc2100debug_action_callback(int action, struct gui_synclist *lists)
|
static int tsc2100debug_action_callback(int action, struct gui_synclist *lists)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue