diff --git a/board/dongle.c b/board/dongle.c index c2b6307..973a981 100644 --- a/board/dongle.c +++ b/board/dongle.c @@ -165,7 +165,7 @@ static HRESULT dongle_cmd( return dongle_cmd_taito_aic_read(dongle, req, resp); default: - dprintf("DONGLE: Node %02x: Unhandled command byte @ %02X %02x\n", + dprintf("Dongle: Node %02x: Unhandled command byte @ %02X %02x\n", dongle->addr, (uint8_t)req->pos, req->bytes[req->pos]); @@ -188,7 +188,7 @@ static HRESULT dongle_cmd_reset(struct dongle *dongle, struct const_iobuf *req_b return hr; } - dprintf("DONGLE: Reset (param %02x)\n", req.unknown); + dprintf("Dongle: Reset (param %02x)\n", req.unknown); dongle->addr = 0xFF; dongle->jvs.sense_out = false; @@ -213,7 +213,7 @@ static HRESULT dongle_cmd_assign_addr( } sense = jvs_node_sense(dongle->jvs.next); - dprintf("DONGLE: Assign addr %02x sense %i\n", req.addr, sense); + dprintf("Dongle: Assign addr %02x sense %i\n", req.addr, sense); if (sense) { /* That address is for somebody else */ @@ -237,7 +237,7 @@ static HRESULT dongle_cmd_read_id(struct dongle *dongle, struct const_iobuf *req return hr; } - dprintf("DONGLE: Read ID\n"); + dprintf("Dongle: Read ID\n"); /* Write report byte */ @@ -265,7 +265,7 @@ static HRESULT dongle_cmd_get_cmd_version(struct dongle *dongle, struct const_io return hr; } - dprintf("DONGLE: Get command format version\n"); + dprintf("Dongle: Get command format version\n"); resp[0] = 0x01; /* Report byte */ resp[1] = 0x13; /* Command format version BCD */ @@ -284,7 +284,7 @@ static HRESULT dongle_cmd_get_jvs_version(struct dongle *dongle, struct const_io return hr; } - dprintf("DONGLE: Get JVS format version\n"); + dprintf("Dongle: Get JVS format version\n"); resp[0] = 0x01; /* Report byte */ resp[1] = 0x30; /* JVS format version BCD */ @@ -303,7 +303,7 @@ static HRESULT dongle_cmd_get_comm_version(struct dongle *dongle, struct const_i return hr; } - dprintf("DONGLE: Get COMM format version\n"); + dprintf("Dongle: Get COMM format version\n"); resp[0] = 0x01; /* Report byte */ resp[1] = 0x10; /* COMM format version BCD */ @@ -322,7 +322,7 @@ static HRESULT dongle_cmd_get_features(struct dongle *dongle, struct const_iobuf return hr; } - dprintf("DONGLE: Get reader features\n"); + dprintf("Dongle: Get reader features\n"); hr = iobuf_write_8(resp_buf, 0x01); /* Write report byte */ @@ -356,7 +356,7 @@ static HRESULT dongle_cmd_write_gpio1(struct dongle *dongle, struct const_iobuf } if (dongle->state != io_state[0]) { - dprintf("DONGLE: Update state %02X\n", io_state[0], num_io); + dprintf("Dongle: Update state %02X\n", io_state[0]); } dongle->state = io_state[0]; diff --git a/board/k92x0249.c b/board/k92x0249.c index 92a77b2..ab3176e 100644 --- a/board/k92x0249.c +++ b/board/k92x0249.c @@ -356,7 +356,7 @@ static HRESULT k92x0249_cmd_write_gpio1(struct k92x0249 *k92x0249, struct const_ } if (k92x0249->state != io_state[0]) { - dprintf("K92X0249: Update state %02X\n", io_state[0], num_io); + dprintf("K92X0249: Update state %02X\n", io_state[0]); } k92x0249->state = io_state[0];