Merge pull request #288 from YuuichiAkagawa/pr_hubdemofix

Fix missing unsigned comparison.
This commit is contained in:
Kristian Sloth Lauszus 2017-02-12 14:43:07 +01:00 committed by GitHub
commit 07de430af0

View file

@ -96,7 +96,7 @@ void loop()
Usb.Task();
if ( Usb.getUsbTaskState() == USB_STATE_RUNNING ) {
if ((millis() - next_time) >= 0L) {
if ((long)(millis() - next_time) >= 0L) {
Usb.ForEachUsbDevice(&PrintAllDescriptors);
Usb.ForEachUsbDevice(&PrintAllAddresses);