mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Merge pull request #288 from YuuichiAkagawa/pr_hubdemofix
Fix missing unsigned comparison.
This commit is contained in:
commit
07de430af0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue