Skip to content
Snippets Groups Projects
Select Git revision
  • fix-warnings
  • master default protected
  • tvbgone-fixes
  • genofire/ble-follow-py
  • schneider/ble-stability-new-phy-adv
  • schneider/ble-stability
  • msgctl/gfx_rle
  • schneider/ble-stability-new-phy
  • add_menu_vibration
  • plaetzchen/ios-workaround
  • blinkisync-as-preload
  • schneider/max30001-pycardium
  • schneider/max30001-epicaridum
  • schneider/max30001
  • schneider/stream-locks
  • schneider/fundamental-test
  • schneider/ble-buffers
  • schneider/maxim-sdk-update
  • ch3/splashscreen
  • koalo/bhi160-works-but-dirty
  • v1.11
  • v1.10
  • v1.9
  • v1.8
  • v1.7
  • v1.6
  • v1.5
  • v1.4
  • v1.3
  • v1.2
  • v1.1
  • v1.0
  • release-1
  • bootloader-v1
  • v0.0
35 results

buttons.c

Blame
  • Forked from card10 / firmware
    Source project has a limited visibility.
    • rahix's avatar
      a8f4d358
      fix(buttons): Fix an I2C transaction without bus lock · a8f4d358
      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 #189.
      
      Signed-off-by: default avatarRahix <rahix@rahix.de>
      a8f4d358
      History
      fix(buttons): Fix an I2C transaction without bus lock
      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 #189.
      
      Signed-off-by: default avatarRahix <rahix@rahix.de>