file reading updates
This commit is contained in:
parent
1852e560ab
commit
5061837966
|
@ -20,7 +20,7 @@ uint8_t *configfile_record(CONFIGFILE *kf, enum configfile_types type, uint16_t
|
|||
}
|
||||
|
||||
if (kf->buf[pos] == type) {
|
||||
DEBUG(DBG_CONFIGFILE, "CONFIGFILE record 0x%02x retrieved (0x%08x)\n", type, kf->buf + pos + 10);
|
||||
DEBUG(DBG_CONFIGFILE, "Retrieved CONFIGFILE record 0x%02x (0x%08x)\n", type, kf->buf + pos + 10);
|
||||
|
||||
return kf->buf + pos + 10; // only return ptr to first byte of entry
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@ enum {
|
|||
DBG_FILE = 4,
|
||||
DBG_AACS = 8,
|
||||
DBG_MKB = 16,
|
||||
DBG_MMC = 32
|
||||
} debug_mask;
|
||||
|
||||
char *print_hex(uint8_t *str, int count);
|
||||
|
|
Loading…
Reference in New Issue