"git@git.flow3r.garden:card10/openocd.git" did not exist on "ba8c605da43659759e64b8cc85fe8a12e60a6555"
Select Git revision
buttons.c
Forked from
card10 / firmware
Source project has a limited visibility.
-
rahix authored
The call to MAX77650_getDebounceStatusnEN0() in epic_buttons_read() performs transactions on the I2C bus but is not guarded by locking the I2C hwlock. This leads to strange issues like USB mode deadlocking when writing large files. Widen the hwlock I2C section to encompass the MAX77650_getDebounceStatusnEN0() call as well. This fixes card10/firmware#189. Signed-off-by:
Rahix <rahix@rahix.de>
rahix authoredThe call to MAX77650_getDebounceStatusnEN0() in epic_buttons_read() performs transactions on the I2C bus but is not guarded by locking the I2C hwlock. This leads to strange issues like USB mode deadlocking when writing large files. Widen the hwlock I2C section to encompass the MAX77650_getDebounceStatusnEN0() call as well. This fixes card10/firmware#189. Signed-off-by:
Rahix <rahix@rahix.de>