Skip to content

Commit caaedeb

Browse files
committed
temp_bugfix: make serialEventRun symbol appear if CDC is not defined
1 parent 970f73d commit caaedeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#endif
1111

1212
int main(void) {
13-
#if DT_NODE_HAS_PROP(DT_PATH(zephyr_user), cdc_acm)
13+
#if DT_NODE_HAS_PROP(DT_PATH(zephyr_user), cdc_acm) || DT_NODE_HAS_PROP(DT_PATH(zephyr_user), serials)
1414
Serial.begin(115200);
1515
#endif
1616
setup();

0 commit comments

Comments
 (0)