forked from espressif/esp-protocols
fix(common): removed Wno-format flag and fixed formatting warnings
This commit is contained in:
1 parent
19baa7d43e
commit
c48e44205d
27 files changed
+27
-41
No files matched your search
@@ -1,3 +1,2 @@
|
||||
idf_component_register(SRCS "mdns_example_main.c"
|
||||
INCLUDE_DIRS ".")
|
||||
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
||||
@@ -94,7 +94,7 @@ static void mdns_print_results(mdns_result_t *results)
|
||||
int i = 1, t;
|
||||
while (r) {
|
||||
if (r->esp_netif) {
|
||||
printf("%d: Interface: %s, Type: %s, TTL: %u\n", i++, esp_netif_get_ifkey(r->esp_netif),
|
||||
printf("%d: Interface: %s, Type: %s, TTL: %" PRIu32 "\n", i++, esp_netif_get_ifkey(r->esp_netif),
|
||||
ip_protocol_str[r->ip_protocol], r->ttl);
|
||||
}
|
||||
if (r->instance_name) {
|
||||
|
||||
Reference in new issue
Block a user