Skip to content

Commit f11c22d

Browse files
authored
Using PIO_FRAMEWORK_ARDUINO_NO_USB build flag would cause internal rp2040 fifo not being initialized correct. (#1001)
1 parent bd4a2d2 commit f11c22d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cores/rp2040/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ extern "C" int main() {
125125
}
126126
#endif
127127

128-
#ifndef NO_USB
129128
if (!__isFreeRTOS) {
130129
if (setup1 || loop1) {
131130
rp2040.fifo.begin(2);
@@ -134,7 +133,6 @@ extern "C" int main() {
134133
}
135134
rp2040.fifo.registerCore();
136135
}
137-
#endif
138136

139137
if (!__isFreeRTOS) {
140138
if (setup1 || loop1) {

0 commit comments

Comments
 (0)