mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
gcc8_newlib3: Compilation warnings and errors not specific to newlib v3
This commit is contained in:
@@ -34,12 +34,16 @@ void mbedtls_esp_enable_debug_log(mbedtls_ssl_config *conf, int threshold)
|
||||
switch(threshold) {
|
||||
case 1:
|
||||
level = ESP_LOG_WARN;
|
||||
break;
|
||||
case 2:
|
||||
level = ESP_LOG_INFO;
|
||||
break;
|
||||
case 3:
|
||||
level = ESP_LOG_DEBUG;
|
||||
break;
|
||||
case 4:
|
||||
level = ESP_LOG_VERBOSE;
|
||||
break;
|
||||
}
|
||||
esp_log_level_set(TAG, level);
|
||||
}
|
||||
@@ -76,6 +80,7 @@ static void mbedtls_esp_debug(void *ctx, int level,
|
||||
break;
|
||||
case 3:
|
||||
ESP_LOGD(TAG, "%s:%d %s", file, line, str);
|
||||
break;
|
||||
case 4:
|
||||
ESP_LOGV(TAG, "%s:%d %s", file, line, str);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user