diff --git a/keyboards/zmk-config/config/boards/shields/pockettype/CMakeLists.txt b/keyboards/zmk-config/config/boards/shields/pockettype/CMakeLists.txt index 28d6a1a4..c2ad4258 100644 --- a/keyboards/zmk-config/config/boards/shields/pockettype/CMakeLists.txt +++ b/keyboards/zmk-config/config/boards/shields/pockettype/CMakeLists.txt @@ -3,4 +3,4 @@ # SPDX-License-Identifier: MIT # -target_sources(app PRIVATE pockettype_pwr_led.c) +target_sources_ifdef(CONFIG_SHIELD_POCKETTYPE app PRIVATE pockettype_pwr_led.c) diff --git a/keyboards/zmk-config/config/boards/shields/pockettype/pockettype.overlay b/keyboards/zmk-config/config/boards/shields/pockettype/pockettype.overlay index cee8da96..a00f9f47 100644 --- a/keyboards/zmk-config/config/boards/shields/pockettype/pockettype.overlay +++ b/keyboards/zmk-config/config/boards/shields/pockettype/pockettype.overlay @@ -4,12 +4,6 @@ * SPDX-License-Identifier: MIT */ -/* - * Copyright (c) 2020 The ZMK Contributors - * - * SPDX-License-Identifier: MIT - */ - #include / {