We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71e8282 commit e4324faCopy full SHA for e4324fa
1 file changed
STM32F1/variants/generic_gd32f103c/wirish/boards_setup.cpp
@@ -96,7 +96,7 @@ namespace wirish {
96
gpio_set_mode(PIN_MAP[PA12].gpio_device, PIN_MAP[PA12].gpio_bit, GPIO_OUTPUT_PP);
97
gpio_write_bit(PIN_MAP[PA12].gpio_device, PIN_MAP[PA12].gpio_bit,0);
98
99
- for(volatile unsigned int i=0;i<256;i++);// Only small delay seems to be needed, and USB pins will get configured in Serial.begin
+ for(volatile unsigned int i=0;i<512;i++);// Only small delay seems to be needed, and USB pins will get configured in Serial.begin
100
gpio_set_mode(PIN_MAP[PA12].gpio_device, PIN_MAP[PA12].gpio_bit, GPIO_INPUT_FLOATING);
101
#endif
102
Serial.begin();// Roger Clark. Changed SerialUSB to Serial for Arduino sketch compatibility
0 commit comments