summary refs log tree commit diff
path: root/keyboards/iron180
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-21 12:05:40 +1100
committerGitHub <noreply@github.com>2023-02-21 12:05:40 +1100
commit9c0ce80d7e7d266cfd2d8fb0d92889db06ea95ff (patch)
tree9882c99ab628ff49e60eb43b42ec3bf6ebefe8bd /keyboards/iron180
parent4b69225c225b76f6631977912c5197c834206b27 (diff)
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/iron180')
-rw-r--r--keyboards/iron180/config.h1
-rw-r--r--keyboards/iron180/info.json3
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/iron180/config.h b/keyboards/iron180/config.h
index 33686df9a0..2e57ae8470 100644
--- a/keyboards/iron180/config.h
+++ b/keyboards/iron180/config.h
@@ -27,7 +27,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define BACKLIGHT_PAL_MODE      1
 #define BACKLIGHT_LEVELS 20
 #define BACKLIGHT_BREATHING
-#define BREATHING_PERIOD 5
 
 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
 #define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/iron180/info.json b/keyboards/iron180/info.json
index 3092b2021f..36fab51596 100644
--- a/keyboards/iron180/info.json
+++ b/keyboards/iron180/info.json
@@ -8,6 +8,9 @@
         "pid": "0x1180",
         "device_version": "0.0.1"
     },
+    "backlight": {
+        "breathing_period": 5
+    },
     "processor": "STM32F072",
     "bootloader": "stm32-dfu",
     "layouts": {