mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 23:08:53 -05:00
Display errors only when tracing
This commit is contained in:
parent
8fe9a98a11
commit
db8d973b82
@ -86,7 +86,16 @@ unsigned char gcn64_transaction(const unsigned char *tx, int tx_len, unsigned ch
|
||||
SREG = sreg;
|
||||
|
||||
if (count == 0xff) {
|
||||
printf("rx error\n");
|
||||
#ifdef TRACE_GCN64
|
||||
printf("rx error\r\n");
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (count == 0xfe) {
|
||||
#ifdef TRACE_GCN64
|
||||
printf("buffer too small\r\n");
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user