Clean-up logs

The less the more
This commit is contained in:
Edward Firmo
2024-12-20 22:32:59 +01:00
parent 8f4a2a9402
commit d0b8ba55ba
3 changed files with 19 additions and 6 deletions

View File

@@ -208,7 +208,8 @@ tx_ultimate_easy:
- script.execute: touch_on_multi_touch_release
on_press:
- lambda: ESP_LOGI("tx_ultimate_easy", "Pressed");
- lambda: |-
ESP_LOGI("tx_ultimate_easy", "Pressed at position %" PRIu8, static_cast<uint8_t>(touch.x));
- script.execute:
id: touch_on_press
touch_x: !lambda return static_cast<uint8_t>(touch.x);