Permalink
Browse files

Nordic/ble_app_uart: Set GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS for 'b…

…uttons_leds_init()'
  • Loading branch information...
oliviermartin committed Feb 21, 2017
1 parent 8e15c26 commit b57d99304bc10bdb836826dcf4eefe783b507c49
Showing with 3 additions and 0 deletions.
  1. +3 −0 Application/Nordic/ble_app_uart/Application.cmake
@@ -30,6 +30,9 @@ TEST_SUPPORTED_BOARD(Nordic/*)
# List of modules needed by the board support and the application
set(LIST_MODULES CMSIS Lib/PolyMCU)
+# Required by buttons_leds_init()
+add_definitions(-DGPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS=4)
+
# This example requires BLE Peripheral support
set(SUPPORT_BLE_PERIPHERAL 1)

0 comments on commit b57d993

Please sign in to comment.