We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f619c commit 5e4be6dCopy full SHA for 5e4be6d
cores/arduino/main.cpp
@@ -27,9 +27,9 @@ int main( void )
27
init();
28
29
delay(1);
30
-#if defined(USBCON)
31
- USBDevice.init();
32
- USBDevice.attach();
+#if defined(USBCON)
+ USBDevice.init();
+ USBDevice.attach();
33
#endif
34
35
setup();
cores/arduino/wiring.c
@@ -85,7 +85,7 @@ void init( void )
85
PM->APBCMASK.reg |= PM_APBCMASK_ADC | PM_APBCMASK_DAC ;
86
87
// Setup all pins (digital and analog) in INPUT mode (default is nothing)
88
- for ( ul = 0 ; ul < NUM_DIGITAL_PINS ; ul++ )
+ for ( ul = 0 ; ul < NUM_DIGITAL_PINS ; ul++ )
89
{
90
pinMode( ul, INPUT ) ;
91
}
0 commit comments