Silence chatty touchwheel log

custom
jacqueline 1 year ago
parent 02b897d536
commit 18345a1c2c
  1. 5
      src/drivers/touchwheel.cpp

@ -108,13 +108,8 @@ void TouchWheel::Update() {
uint8_t status = ReadRegister(Register::DETECTION_STATUS); uint8_t status = ReadRegister(Register::DETECTION_STATUS);
if (status & 0b10000000) { if (status & 0b10000000) {
// Still calibrating. // Still calibrating.
ESP_LOGW(kTag, "awaiting calibration");
return; return;
} }
if (status & 0b01000000) {
// Probably okay, but we should keep an eye on this for development.
ESP_LOGW(kTag, "touchwheel acquisition >16ms");
}
if (status & 0b10) { if (status & 0b10) {
// Slider detect. // Slider detect.
uint8_t pos = ReadRegister(Register::SLIDER_POSITION); uint8_t pos = ReadRegister(Register::SLIDER_POSITION);

Loading…
Cancel
Save