1
0
Fork 0

file reading updates

This commit is contained in:
cRTrn13 2009-10-18 13:30:31 +00:00
parent 1852e560ab
commit 5061837966
2 changed files with 2 additions and 1 deletions

View File

@ -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
}

View File

@ -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);