diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-08-10 12:19:28 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2012-08-10 12:19:28 +0200 |
commit | 27acbb09a53b93a2b6f8a6533d346ea6ec1bf80d (patch) | |
tree | 577169dbca2603c8bc7bad461a9fbf2780c0ca5d /src/nolo.c | |
parent | b142205f1c0f0a1202c882ff1994a4d3255c28bf (diff) | |
download | 0xFFFF-27acbb09a53b93a2b6f8a6533d346ea6ec1bf80d.tar.bz2 |
Fix compilation
Diffstat (limited to 'src/nolo.c')
-rw-r--r-- | src/nolo.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -32,9 +32,7 @@ #define CMD_WRITE 64 #define CMD_QUERY 192 -extern char *root_devices[]; - -extern struct usb_dev_handle *dev; +struct usb_dev_handle *dev; /*void check_nolo_order_failed() { @@ -394,7 +392,7 @@ int get_root_device() return -1; } - printf("Root device is: %s\n", root_devices[opcode]); +// printf("Root device is: %s\n", root_devices[opcode]); return 0; } @@ -417,7 +415,7 @@ int set_root_device(unsigned short root_device) return -1; } - printf("Root device set to: %s\n", root_devices[root_device]); +// printf("Root device set to: %s\n", root_devices[root_device]); return 0; } |