From 181d4652697a184883d4039eb264b64a0720adba Mon Sep 17 00:00:00 2001 From: moon2 <moon2protonmail@protonmail.com> Date: Fri, 24 Nov 2023 11:47:14 +0100 Subject: [PATCH] captouch: bring back redundant calibration we're already changing a bunch, this one looks silly but it does affect how user interaction affects calibration at boot. also file access does weird stuff in general, maybe it does weird stuff to captouch output too, so an early exit when called from mp is maybe beneficial. there's many cleaner ways to do this but we intentionally just go back to 1.2 status quo to account for any wonk that might be at the bottom of recently reported boot calib failures. we'll move to persistent calib soon anyways, no reason to go out of our way here :P --- components/flow3r_bsp/flow3r_bsp_ad7147.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/flow3r_bsp/flow3r_bsp_ad7147.c b/components/flow3r_bsp/flow3r_bsp_ad7147.c index 8649ea54c4..a914c27937 100644 --- a/components/flow3r_bsp/flow3r_bsp_ad7147.c +++ b/components/flow3r_bsp/flow3r_bsp_ad7147.c @@ -268,7 +268,7 @@ esp_err_t flow3r_bsp_ad7147_chip_init(ad7147_chip_t *chip, if ((ret = ad7147_hw_init(&chip->dev, address, _on_data, chip)) != ESP_OK) { return ret; } - // _calibration_request(chip); + _calibration_request(chip); if ((ret = _sequence_request(chip, false)) != ESP_OK) { return ret; } -- GitLab