1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-11 23:17:08 +01:00

carol: fix prints

This commit is contained in:
Kevin Trocolli 2023-04-11 00:22:41 -04:00
parent ef00932c64
commit 74c8b312c5

View File

@ -18,8 +18,6 @@
static HRESULT controlbd_handle_irp(struct irp *irp);
static HRESULT controlbd_handle_irp_locked(struct irp *irp);
//static HRESULT controlbd_frame_decode(struct controlbd_req *dest, struct iobuf *iobuf);
//static HRESULT controlbd_frame_dispatch(struct controlbd_req *dest);
static HRESULT controlbd_req_noop(uint8_t cmd);
static HRESULT controlbd_req_unk7c(uint8_t cmd);
@ -74,11 +72,11 @@ static HRESULT controlbd_handle_irp_locked(struct irp *irp)
assert(carol_dll.controlbd_init != NULL);
if (irp->op == IRP_OP_OPEN) {
dprintf("LED Board: Starting backend DLL\n");
dprintf("Control Board: Starting backend DLL\n");
hr = carol_dll.controlbd_init();
if (FAILED(hr)) {
dprintf("LED Board: Backend DLL error: 0X%X\n", (int) hr);
dprintf("Control Board: Backend DLL error: 0X%X\n", (int) hr);
return hr;
}
@ -92,20 +90,18 @@ static HRESULT controlbd_handle_irp_locked(struct irp *irp)
for (;;) {
#if 1
dprintf("LED Board: TX Buffer:\n");
dprintf("Control Board: TX Buffer:\n");
dump_iobuf(&controlbd_uart.written);
#endif
//hr = controlbd_frame_decode(&req, &controlbd_uart.written);
if (FAILED(hr)) {
dprintf("LED Board: Deframe Error: 0X%X\n", (int) hr);
dprintf("Control Board: Deframe Error: 0X%X\n", (int) hr);
return hr;
}
//hr = controlbd_frame_dispatch(&req);
if (FAILED(hr)) {
dprintf("LED Board: Dispatch Error: 0X%X\n", (int) hr);
dprintf("Control Board: Dispatch Error: 0X%X\n", (int) hr);
return hr;
}