summaryrefslogtreecommitdiff
path: root/src/drivers/Cst816s.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-10-23 22:25:37 +0200
committerJF <jf@codingfield.com>2020-10-23 22:25:37 +0200
commit2f710d06f37b9ee964ad24dc1832d18ac321c664 (patch)
tree6e73464977e290b8ff06a56ed8ece9c5634f7b2a /src/drivers/Cst816s.h
parentab7acd0f076899fafb1cb5ff233a9c6b6b1ca15b (diff)
Workaround for bug https://github.com/JF002/Pinetime/issues/79 until a better fix is found.
When the driver is stuck in an infinite loop for more than ~2.5ms, the TWI device is re-init and the transaction is retried. Read() and Write() return an error code.
Diffstat (limited to 'src/drivers/Cst816s.h')
0 files changed, 0 insertions, 0 deletions