mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-16 20:12:13 +02:00
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
* Original commit: espressif/esp-idf@afbaf74007
This commit is contained in:
@ -92,7 +92,7 @@ struct esp_websocket_client {
|
|||||||
int buffer_size;
|
int buffer_size;
|
||||||
};
|
};
|
||||||
|
|
||||||
static uint64_t _tick_get_ms()
|
static uint64_t _tick_get_ms(void)
|
||||||
{
|
{
|
||||||
return esp_timer_get_time()/1000;
|
return esp_timer_get_time()/1000;
|
||||||
}
|
}
|
||||||
|
@ -80,7 +80,7 @@ static void websocket_app_start(void)
|
|||||||
esp_websocket_client_destroy(client);
|
esp_websocket_client_destroy(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
void app_main()
|
void app_main(void)
|
||||||
{
|
{
|
||||||
ESP_LOGI(TAG, "[APP] Startup..");
|
ESP_LOGI(TAG, "[APP] Startup..");
|
||||||
ESP_LOGI(TAG, "[APP] Free memory: %d bytes", esp_get_free_heap_size());
|
ESP_LOGI(TAG, "[APP] Free memory: %d bytes", esp_get_free_heap_size());
|
||||||
|
Reference in New Issue
Block a user