summaryrefslogtreecommitdiff
path: root/src/drivers/Cst816s.cpp
diff options
context:
space:
mode:
authorJF <JF002@users.noreply.github.com>2021-10-23 08:24:27 (GMT)
committerGitHub <noreply@github.com>2021-10-23 08:24:27 (GMT)
commit9538eb97166410ebc362addfb76ec54895491cd7 (patch)
tree1c1eb8b1b1d5c6c4ccc555849474a0a87a92c6e1 /src/drivers/Cst816s.cpp
parent6c3f56bb5980dc3493685e4657bb25a18569f7a1 (diff)
parent27366bdfdf05a5fd3128ad8eabedbeba720ca885 (diff)
Merge pull request #586 from hubmartin/wake-time
Improve wake-up time
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 49d6ed0..7fc8eca 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);