mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
Fix function prototypes
This commit is contained in:

committed by
Angus Gratton

parent
c47e1756f8
commit
18c5cfadae
@@ -39,14 +39,14 @@ void tempsensor_example(void *arg)
|
||||
vTaskDelete(NULL);
|
||||
}
|
||||
|
||||
void app_main()
|
||||
void app_main(void)
|
||||
{
|
||||
xTaskCreate(tempsensor_example, "temp", 2048, NULL, 5, NULL);
|
||||
}
|
||||
|
||||
#elif CONFIG_IDF_TARGET_ESP32
|
||||
|
||||
void app_main()
|
||||
void app_main(void)
|
||||
{
|
||||
printf("ESP32 don't support temperature sensor\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user