summaryrefslogtreecommitdiff
path: root/src/drivers/Cst816s.cpp
diff options
context:
space:
mode:
authorhubmartin <hub.martin@gmail.com>2021-08-15 16:47:41 +0200
committerhubmartin <hub.martin@gmail.com>2021-08-15 16:47:41 +0200
commitfaed0d49006605e33905f1914f04c90f6138bf6e (patch)
treea38d623eb3320f883ac56e0ffba322c720a28d3d /src/drivers/Cst816s.cpp
parentee44b6ff4998d6f4d0672c05c1f65c0a9692dc0d (diff)
Remove unnecessary pin_set, save 50ms
Diffstat (limited to 'src/drivers/Cst816s.cpp')
-rw-r--r--src/drivers/Cst816s.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/Cst816s.cpp b/src/drivers/Cst816s.cpp
index fd9792b3..affc432f 100644
--- a/src/drivers/Cst816s.cpp
+++ b/src/drivers/Cst816s.cpp
@@ -19,8 +19,8 @@ Cst816S::Cst816S(TwiMaster& twiMaster, uint8_t twiAddress) : twiMaster {twiMaste
void Cst816S::Init() {
nrf_gpio_cfg_output(pinReset);
- nrf_gpio_pin_set(pinReset);
- vTaskDelay(50);
+ //nrf_gpio_pin_set(pinReset);
+ //vTaskDelay(5);
nrf_gpio_pin_clear(pinReset);
vTaskDelay(5);
nrf_gpio_pin_set(pinReset);