Fix missing unsigned comparison.

This commit is contained in:
Yuuichi Akagawa 2017-02-12 22:02:00 +09:00
parent 831960bcc2
commit 9b4dd2dcfb

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);