Skip to content
Snippets Groups Projects
Select Git revision
  • 01fb427ea76e992221be05341dc47ba26ab8bdba
  • master default protected
  • schneider/ir
  • rahix/user-space-ctx
  • schneider/iaq-python
  • schneider/ble-mini-demo
  • schneider/ble-ecg-stream-visu
  • schneider/mp-exception-print
  • schneider/sleep-display
  • schneider/deepsleep4
  • schneider/deepsleep2
  • schneider/deepsleep
  • schneider/ble-central
  • rahix/bluetooth-app-favorite
  • schneider/v1.17-changelog
  • schneider/ancs
  • schneider/png
  • schneider/freertos-list-debug
  • schneider/212-reset-hardware-when-entering-repl
  • schneider/bonding-fail-if-full
  • schneider/ble-fixes-2020-3
  • v1.18
  • v1.17
  • v1.16
  • v1.15
  • v1.14
  • v1.13
  • v1.12
  • 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
41 results

modules.h

  • rahix's avatar
    01fb427e
    fix(sleep): Make sleep work again when BLE is disabled · 01fb427e
    rahix authored
    In commit 4944aa48 ("fix(ble): Update to changes from new SDK")
    a call to `BbDrvDisable()` was added to `sleep_deepsleep()`.  This
    function must, however, only be called when BLE was previously
    initialized, otherwise a wakeup from deepsleep will not be possible (if
    it ever reaches it?).
    
    Fix this by reworking the BLE enabled check to also be usable here, to
    only call `BbDrvDisable()` when BLE is active.
    
    Fixes: 4944aa48 ("fix(ble): Update to changes from new SDK")
    Fixes: #231
    01fb427e
    History
    fix(sleep): Make sleep work again when BLE is disabled
    rahix authored
    In commit 4944aa48 ("fix(ble): Update to changes from new SDK")
    a call to `BbDrvDisable()` was added to `sleep_deepsleep()`.  This
    function must, however, only be called when BLE was previously
    initialized, otherwise a wakeup from deepsleep will not be possible (if
    it ever reaches it?).
    
    Fix this by reworking the BLE enabled check to also be usable here, to
    only call `BbDrvDisable()` when BLE is active.
    
    Fixes: 4944aa48 ("fix(ble): Update to changes from new SDK")
    Fixes: #231