summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7c5b9b2)
No bugs identified
Signed-off-by: Keith Packard <keithp@keithp.com>
static uint32_t
ao_get_hex32(void)
{
static uint32_t
ao_get_hex32(void)
{
uint32_t v = 0;
for (;;) {
uint32_t v = 0;
for (;;) {
n = n - ('A' - 10);
else
break;
n = n - ('A' - 10);
else
break;
+ v = (v << 4) | (uint8_t) n;
n = ao_usb_getchar();
}
return v;
n = ao_usb_getchar();
}
return v;