diff options
| author | hubmartin <hub.martin@gmail.com> | 2021-08-15 14:47:41 (GMT) |
|---|---|---|
| committer | hubmartin <hub.martin@gmail.com> | 2021-08-15 14:47:41 (GMT) |
| commit | faed0d49006605e33905f1914f04c90f6138bf6e (patch) | |
| tree | a38d623eb3320f883ac56e0ffba322c720a28d3d | |
| parent | ee44b6ff4998d6f4d0672c05c1f65c0a9692dc0d (diff) | |
Remove unnecessary pin_set, save 50ms
| -rw-r--r-- | src/drivers/Cst816s.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/Cst816s.cpp b/src/drivers/Cst816s.cpp index fd9792b..affc432 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); |
