mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-18 13:02:21 +02:00
examples: Standardise naming of files, symbols, etc. in examples
* Use "example" in all example function & variable names, ie use i2c_example_xxx instead of i2c_xxx for example functions. Closes #198 https://github.com/espressif/esp-idf/issues/198 * Mark example functions, etc. static * Replace uses of "test" & "demo" with "example" * Split the UART example into two * Rename "main" example files to end with "_main.c" for disambiguation * Original commit: espressif/esp-idf@821c70f5d7
This commit is contained in:
committed by
suren-gabrielyan-espressif
parent
5924dafd94
commit
1a1cf71a84
@ -125,7 +125,7 @@ static void query_mdns_service(mdns_server_t * mdns, const char * service, const
|
||||
}
|
||||
}
|
||||
|
||||
static void mdns_task(void *pvParameters)
|
||||
static void mdns_example_task(void *pvParameters)
|
||||
{
|
||||
mdns_server_t * mdns = NULL;
|
||||
while(1) {
|
||||
@ -180,5 +180,5 @@ void app_main()
|
||||
{
|
||||
ESP_ERROR_CHECK( nvs_flash_init() );
|
||||
initialise_wifi();
|
||||
xTaskCreate(&mdns_task, "mdns_task", 2048, NULL, 5, NULL);
|
||||
xTaskCreate(&mdns_example_task, "mdns_example_task", 2048, NULL, 5, NULL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user