CodeRabbitAI suggestions

This commit is contained in:
Edward Firmo
2024-12-25 02:34:18 +01:00
parent e546fedf08
commit 7aee88c38f
5 changed files with 37 additions and 13 deletions

View File

@@ -56,10 +56,13 @@ script:
- id: !extend dump_config
then:
- lambda: |-
// Configuration
ESP_LOGCONFIG("core_hw_vibration", "Touch - Vibration feedback: %s",
sl_touch_vibration_feedback->state.c_str());
ESP_LOGCONFIG("core_hw_vibration", "Vibrate duration: %.0fms", nr_vibrating_duration->state);
ESP_LOGCONFIG("core_hw_vibration", "Vibrate max duration: ${vibration_max_duration}");
// State
if (bs_vibrating->state)
ESP_LOGW("core_hw_vibration", "Vibrating now: YES");
else