Added extern C for arduino ad esp idf component (#547)

Co-authored-by: Hemanth Bollamreddi <hbollamreddi@vmware.com>
This commit is contained in:
Hemanth Bollamreddi
2022-04-18 20:04:51 +05:30
committed by GitHub
parent 7138f22a5f
commit a00ede298e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ void arduinoTask(void *pvParameter) {
}
}
void app_main()
extern "C" void app_main()
{
// initialize arduino library before we start the tasks
initArduino();
@@ -70,4 +70,4 @@ void loop() {
Serial.println("Hello!");
delay(1000);
}
#endif
#endif