Home
last modified time | relevance | path

Searched refs:hBuf (Results 1 – 1 of 1) sorted by relevance

/external/libusb/examples/
Dezusb.c570 unsigned char *bBuf, hBuf[4], blBuf[4], rBuf[4096]; in fx3_load_ram() local
582 if (fread(hBuf, sizeof(char), sizeof(hBuf), image) != sizeof(hBuf)) { in fx3_load_ram()
589 if ((hBuf[0] != 'C') || (hBuf[1] != 'Y')) { in fx3_load_ram()
596 switch(hBuf[3]) { in fx3_load_ram()
599 logerror("normal FW binary %s image with checksum\n", (hBuf[2]&0x01)?"data":"executable"); in fx3_load_ram()
610 logerror("invalid image type 0x%02X\n", hBuf[3]); in fx3_load_ram()