Skip to content

Commit

Permalink
Cast loop time value
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardtfn committed Oct 29, 2024
1 parent 7e4fd02 commit d043153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esphome/nspanel_esphome_core_base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ script:
ESP_LOGW("${project_tag}", " Framework: UNKNOWN");
#endif
// Report Loop time
ESP_LOGCONFIG("${project_tag}", "Loop time: %" PRIu32, debug_loop_time->state);
ESP_LOGCONFIG("${project_tag}", "Loop time: %" PRIu32, static_cast<uint32_t>(debug_loop_time->state));
ESP_LOGCONFIG("${project_tag}", " Max: %" PRIu32, id(max_loop_time));
ESP_LOGCONFIG("${project_tag}", " Threshold: %" PRIu32, ${loop_time_threshold});
dump_config_packages->execute();
Expand Down

0 comments on commit d043153

Please sign in to comment.