diff options
| author | Joaquim <joaquim.org@gmail.com> | 2021-04-10 18:09:33 (GMT) |
|---|---|---|
| committer | Joaquim <joaquim.org@gmail.com> | 2021-04-10 18:09:33 (GMT) |
| commit | 012c246e401c0745d4b6765217ce7137680070da (patch) | |
| tree | f5ac127917689dd57a36d7152f44bb923e2a9e9e /src/drivers/Cst816s.cpp | |
| parent | eb769fb60ecb8f96ecf6901082ec3f0610842af8 (diff) | |
0.16.0 TWI problems fix
More memory for freertos heap and timer stack
Fix warning in watchface
Fix number of bytes read by cst816
Debug app to show freertos tasks
Increased the number of bytes of the twi write buffer
Diffstat (limited to 'src/drivers/Cst816s.cpp')
| -rw-r--r-- | src/drivers/Cst816s.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/Cst816s.cpp b/src/drivers/Cst816s.cpp index 03da76c..e3a37b1 100644 --- a/src/drivers/Cst816s.cpp +++ b/src/drivers/Cst816s.cpp @@ -31,7 +31,8 @@ void Cst816S::Init() { twiMaster.Read(twiAddress, 0x15, &dummy, 1); vTaskDelay(5); twiMaster.Read(twiAddress, 0xa7, &dummy, 1); - + vTaskDelay(5); + /* [2] EnConLR - Continuous operation can slide around [1] EnConUD - Slide up and down to enable continuous operation |
