AmendHub

Download:

jcs

/

wifi_da

/

amendments

/

22

*: Make some warnings less warny

Users can't do anything about these, there's no point in bothering
them.

jcs made amendment 22 11 months ago
--- main.c Tue Oct 24 23:23:44 2023 +++ main.c Wed Oct 25 10:47:21 2023 @@ -251,7 +251,7 @@ handle_timer(void) DEBUG_LOG(("%ld - handle_timer - scan not done", Ticks)); if (Time - wifi_scan_started <= 5) break; - warn("Wi-Fi scan failed to finish, canceling"); + DEBUG_LOG(("Wi-Fi scan failed to finish, canceling")); } last_scan = Ticks; da_state = STATE_IDLE; --- scsi.c Fri Oct 20 19:54:26 2023 +++ scsi.c Wed Oct 25 10:46:47 2023 @@ -288,15 +288,15 @@ scsi_io(unsigned short scsi_id, unsigned char *cdb, un /* complete and free the bus before responding to the read/write */ if (SCSIComplete(&scsi_stat, &scsi_msg, 300 /* 1/60 ticks */) != noErr) { - warn("SCSIComplete failed"); + DEBUG_LOG(("SCSIComplete failed")); return -1; } if (ioret != noErr && ioret != scPhaseErr) - warn("SCSIRead/Write failed"); + DEBUG_LOG(("SCSIRead/Write failed: %d", ioret)); if (scsi_stat != noErr) - warn("SCSIComplete bad status"); + DEBUG_LOG(("SCSIComplete bad status: %d", scsi_stat)); return len; }