summaryrefslogtreecommitdiff
path: root/src/drivers/Cst816s.cpp
diff options
context:
space:
mode:
authorKieran Cawthray <kieranc@gmail.com>2021-10-23 18:00:47 +0200
committerKieran Cawthray <kieranc@gmail.com>2021-10-23 18:00:47 +0200
commitda97a94a0fc89a646f9a7ab9d1b9937164227d2f (patch)
treee2b0b23ab43ecbc22ee58966d66c8399a385e01b /src/drivers/Cst816s.cpp
parent411c10ec317464a79c353dc5c18b805cf4bdf7d0 (diff)
parent9538eb97166410ebc362addfb76ec54895491cd7 (diff)
Merge remote-tracking branch 'upstream/develop' into pts-settings
Diffstat (limited to 'src/drivers/Cst816s.cpp')
-rw-r--r--src/drivers/Cst816s.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/Cst816s.cpp b/src/drivers/Cst816s.cpp
index 49d6ed0e..7fc8eca4 100644
--- a/src/drivers/Cst816s.cpp
+++ b/src/drivers/Cst816s.cpp
@@ -20,8 +20,6 @@ Cst816S::Cst816S(TwiMaster& twiMaster, uint8_t twiAddress) : twiMaster {twiMaste
bool Cst816S::Init() {
nrf_gpio_cfg_output(PinMap::Cst816sReset);
- nrf_gpio_pin_set(PinMap::Cst816sReset);
- vTaskDelay(50);
nrf_gpio_pin_clear(PinMap::Cst816sReset);
vTaskDelay(5);
nrf_gpio_pin_set(PinMap::Cst816sReset);