1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-19 04:52:12 +01:00

LP-155 Fix OPHID_DEBUG warning

This commit is contained in:
Stefan Karlsson 2015-10-15 21:08:49 +02:00
parent 1a8bf2cd9e
commit 295562694b

View File

@ -163,7 +163,7 @@ int opHID_hidapi::open(int max, int vid, int pid, int usage_page, int usage)
devices_found = false;
} else {
OPHID_DEBUG("HID Device Found");
OPHID_DEBUG(" type:............VID(%04hx).PID(%04hx)", vid, pid);
OPHID_DEBUG(" type:............VID(%04hx).PID(%04hx)", (unsigned short)vid, (unsigned short)pid);
devices_found = true;
}
} else {