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 7138f22 commit a00ede2Copy full SHA for a00ede2
examples/espidf-arduino-blink/src/Blink.cpp
@@ -51,7 +51,7 @@ void arduinoTask(void *pvParameter) {
51
}
52
53
54
-void app_main()
+extern "C" void app_main()
55
{
56
// initialize arduino library before we start the tasks
57
initArduino();
@@ -70,4 +70,4 @@ void loop() {
70
Serial.println("Hello!");
71
delay(1000);
72
73
-#endif
+#endif
examples/espidf-arduino-wifiscan/src/main.cpp
0 commit comments