-
-
Notifications
You must be signed in to change notification settings - Fork 112
Closed
Description
Due to the mix of spaces and tabs used for indentation the following lines:
ArduinoCore-sam/cores/arduino/USB/USBCore.cpp
Lines 688 to 690 in 0a4c3b1
else | |
UDD_Send8(EP0, 0); // TODO | |
UDD_Send8(EP0, 0); |
/home/travis/.platformio/packages/framework-arduinosam/cores/sam/USB/USBCore.cpp: In function 'void USB_ISR()':
/home/travis/.platformio/packages/framework-arduinosam/cores/sam/USB/USBCore.cpp:688:21: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
else
^~~~
/home/travis/.platformio/packages/framework-arduinosam/cores/sam/USB/USBCore.cpp:690:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
UDD_Send8(EP0, 0);
^~~~~~~~~
See: https://travis-ci.org/felis/USB_Host_Shield_2.0/jobs/569237654
A fix would simply be to replace all tabs with spaces or vice versa.
Metadata
Metadata
Assignees
Labels
No labels