maybe fix battery level?

This commit is contained in:
Crispy 2022-10-02 21:31:05 +02:00
parent b56a85c4ef
commit 35b2760d8d

View file

@ -1,20 +1,15 @@
#include <dt-bindings/zmk/matrix_transform.h> #include <dt-bindings/zmk/matrix_transform.h>
/ {
chosen {
zmk,battery = &vbatt;
};
vbatt: vbatt {
compatible = "zmk,battery-nrf-vddh";
label = "VBATT";
};
};
/ { / {
chosen { chosen {
zmk,kscan = &kscan0; zmk,kscan = &kscan0;
zmk,matrix_transform = &default_transform; zmk,matrix_transform = &default_transform;
zmk,battery = &vbatt;
};
vbatt: vbatt {
compatible = "zmk,battery-nrf-vddh";
label = "VBATT";
}; };
default_transform: keymap_transform_0 { default_transform: keymap_transform_0 {