summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorNick <nick.win999@gmail.com>2020-10-23 00:57:32 -0500
committerNick <nick.win999@gmail.com>2020-10-23 00:57:32 -0500
commit8efcd80f3ae594a489339ac23de8890399f22f59 (patch)
tree85b104f95e52b08bc27d63f6623173f029c5242c /app
parent70ffcca3b42f5dacf5be155a56b11387a7e68b63 (diff)
Add missing ADC and fix formatting
Diffstat (limited to 'app')
-rw-r--r--app/boards/arm/bluemicro840/bluemicro840_v1.dts4
-rw-r--r--app/boards/arm/nice_nano/nice_nano.dts4
-rw-r--r--app/boards/arm/nrfmicro/nrfmicro_13.dts4
3 files changed, 8 insertions, 4 deletions
diff --git a/app/boards/arm/bluemicro840/bluemicro840_v1.dts b/app/boards/arm/bluemicro840/bluemicro840_v1.dts
index ac8ba56..32aa2e6 100644
--- a/app/boards/arm/bluemicro840/bluemicro840_v1.dts
+++ b/app/boards/arm/bluemicro840/bluemicro840_v1.dts
@@ -39,6 +39,10 @@
};
+&adc {
+ status = "okay";
+};
+
&gpio0 {
status = "okay";
};
diff --git a/app/boards/arm/nice_nano/nice_nano.dts b/app/boards/arm/nice_nano/nice_nano.dts
index 997d195..1819541 100644
--- a/app/boards/arm/nice_nano/nice_nano.dts
+++ b/app/boards/arm/nice_nano/nice_nano.dts
@@ -28,8 +28,8 @@
label = "Blue LED";
};
};
-
- ext-power {
+
+ ext-power {
compatible = "zmk,ext-power-generic";
label = "EXT_POWER";
control-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
diff --git a/app/boards/arm/nrfmicro/nrfmicro_13.dts b/app/boards/arm/nrfmicro/nrfmicro_13.dts
index ae6c1af..5ae11ba 100644
--- a/app/boards/arm/nrfmicro/nrfmicro_13.dts
+++ b/app/boards/arm/nrfmicro/nrfmicro_13.dts
@@ -25,8 +25,8 @@
label = "Blue LED";
};
};
-
- ext-power {
+
+ ext-power {
compatible = "zmk,ext-power-generic";
label = "EXT_POWER";
control-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;