summaryrefslogtreecommitdiff
path: root/keyboards/splitkb/kyria/keymaps/maherma-adg
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-07-26 21:40:14 +0200
committerGitHub <noreply@github.com>2022-07-26 21:40:14 +0200
commit083b42068a284765c5dd18c2f04ed542d157ffc9 (patch)
treee7adb2bc6ba241062db66620adbde14c5799d18e /keyboards/splitkb/kyria/keymaps/maherma-adg
parent2899e69ead3322a41b695cf84fb089ce75a4beb8 (diff)
Chibios: Stop I2C peripheral on transaction error (#17798)
From the ChibiOS HAL I2C driver pages: After a timeout the driver must be stopped and restarted because the bus is in an uncertain state. This commit does that stopping explicitly on any error that occurred, not only timeouts. As all the i2c functions restart the peripheral if necessary it is safe to do so. Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com> Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
Diffstat (limited to 'keyboards/splitkb/kyria/keymaps/maherma-adg')
0 files changed, 0 insertions, 0 deletions