From 106775716a4ed2ceae60227a5adb92afc89b7f43 Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Sun, 15 Sep 2024 23:16:29 +0900 Subject: [PATCH] refactor: define board name in rev config --- config/boards/arm/whkb_pro2/Kconfig.defconfig | 2 +- config/boards/arm/whkb_pro2/whkb_pro2_A.conf | 1 + config/boards/arm/whkb_pro2/whkb_pro2_B.conf | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/boards/arm/whkb_pro2/Kconfig.defconfig b/config/boards/arm/whkb_pro2/Kconfig.defconfig index ceb9557..da9cfb3 100644 --- a/config/boards/arm/whkb_pro2/Kconfig.defconfig +++ b/config/boards/arm/whkb_pro2/Kconfig.defconfig @@ -4,7 +4,7 @@ if BOARD_WHKB_PRO2 config ZMK_KEYBOARD_NAME - default "WHKB Pro2 Rev A" + default "WHKB Pro2" config BOARD default "whkb_pro2" diff --git a/config/boards/arm/whkb_pro2/whkb_pro2_A.conf b/config/boards/arm/whkb_pro2/whkb_pro2_A.conf index e69de29..f053c84 100644 --- a/config/boards/arm/whkb_pro2/whkb_pro2_A.conf +++ b/config/boards/arm/whkb_pro2/whkb_pro2_A.conf @@ -0,0 +1 @@ +CONFIG_ZMK_KEYBOARD_NAME="WHKB Pro2 Rev A" \ No newline at end of file diff --git a/config/boards/arm/whkb_pro2/whkb_pro2_B.conf b/config/boards/arm/whkb_pro2/whkb_pro2_B.conf index e69de29..81d1712 100644 --- a/config/boards/arm/whkb_pro2/whkb_pro2_B.conf +++ b/config/boards/arm/whkb_pro2/whkb_pro2_B.conf @@ -0,0 +1 @@ +CONFIG_ZMK_KEYBOARD_NAME="WHKB Pro2 Rev B" \ No newline at end of file