build fixes for new compiler version and standard

This commit is contained in:
jacqueline
2023-01-21 15:09:05 +11:00
parent 8cb9e9361c
commit c7901ae429
12 changed files with 37 additions and 22 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ extern "C" void app_main(void) {
ESP_LOGI(TAG, "Init battery measurement");
drivers::Battery* battery = new drivers::Battery();
ESP_LOGI(TAG, "it's reading %dmV!", battery->Millivolts());
ESP_LOGI(TAG, "it's reading %d mV!", (int) battery->Millivolts());
ESP_LOGI(TAG, "Init SD card");
auto storage_res = drivers::SdStorage::create(expander);