From a3e14c012d76fc8f7ad4c16ad9dc67e8995ce10e Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Fri, 30 Dec 2022 23:31:31 +0200 Subject: src: Enable unused parameter warning Fix warnings. Some clang-formatting was necessary. DebugPins is unused and was removed. --- CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index adb1754b..62c1637b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,10 +24,6 @@ if (NOT NRF5_SDK_PATH) message(FATAL_ERROR "The path to the NRF52 SDK must be specified on the command line (add -DNRF5_SDK_PATH=") endif () -if(DEFINED USE_DEBUG_PINS AND USE_DEBUG_PINS) - add_definitions(-DUSE_DEBUG_PINS) -endif() - if(BUILD_DFU) set(BUILD_DFU true) endif() @@ -59,11 +55,6 @@ message(" * Toolchain : " ${ARM_NONE_EABI_TOOLCHAIN_PATH}) message(" * GitRef(S) : " ${PROJECT_GIT_COMMIT_HASH}) message(" * NRF52 SDK : " ${NRF5_SDK_PATH}) message(" * Target device : " ${TARGET_DEVICE}) -if(USE_DEBUG_PINS) - message(" * Debug pins : Enabled") -else() - message(" * Debug pins : Disabled") -endif() if(BUILD_DFU) message(" * Build DFU (using adafruit-nrfutil) : Enabled") else() -- cgit v1.2.3