Skip to content

Commit

Permalink
fix linux build fail
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Li <frank.li@nxp.com>
  • Loading branch information
nxpfrankli committed May 25, 2021
1 parent 195014f commit 051a8fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions uuu/uuu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ void print_lsusb()
uuu_for_each_devices(print_usb_device, NULL);
}

#ifdef WIN32
int ignore_serial_number(const char *pro, const char *chip, const char */*comp*/, uint16_t vid, uint16_t pid, uint16_t /*bcdlow*/, uint16_t /*bcdhigh*/, void */*p*/)
{
printf("\t %s\t %s\t 0x%04X\t0x%04X\n", chip, pro, vid, pid);
Expand All @@ -800,6 +801,7 @@ int ignore_serial_number(const char *pro, const char *chip, const char */*comp*/
printf("Set key failure, try run as administrator permission\n");
return -1;
}
#endif

int set_ignore_serial_number()
{
Expand Down

0 comments on commit 051a8fe

Please sign in to comment.