Browse Source

opt: disable usb debug output

master
mntmn 2 months ago
parent
commit
d56790d538
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      ZZ9000_proto.sdk/ZZ9000OS/src/usb.c

+ 2
- 2
ZZ9000_proto.sdk/ZZ9000OS/src/usb.c View File

@@ -56,13 +56,13 @@ int zz_usb_init() {

unsigned long zz_usb_read_blocks(int dev_index, unsigned long blknr, unsigned long blkcnt, void *buffer) {
int res = usb_stor_read_direct(dev_index, blknr, blkcnt, buffer);
printf("[USB] read %lu blocks at %lu: %d\n",blkcnt,blknr,res);
//printf("[USB] read %lu blocks at %lu: %d\n",blkcnt,blknr,res);
return res;
}

unsigned long zz_usb_write_blocks(int dev_index, unsigned long blknr, unsigned long blkcnt, void *buffer) {
int res = usb_stor_write_direct(dev_index, blknr, blkcnt, buffer);
printf("[USB] write %lu blocks at %lu: %d\n",blkcnt,blknr,res);
//printf("[USB] write %lu blocks at %lu: %d\n",blkcnt,blknr,res);
return res;
}


Loading…
Cancel
Save