mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-29 17:35:18 -05:00
refactor: Replace tabs with spaces
Standardized indentation to use spaces with a new pre-commit hook.
This commit is contained in:
committed by
Pete Johanson
parent
32ae776c42
commit
94061bb916
@@ -116,14 +116,14 @@ Devicetree files look like this:
|
||||
|
||||
```devicetree
|
||||
/ {
|
||||
chosen {
|
||||
zmk,kscan = &kscan0;
|
||||
};
|
||||
chosen {
|
||||
zmk,kscan = &kscan0;
|
||||
};
|
||||
|
||||
kscan0: kscan {
|
||||
compatible = "zmk,kscan-gpio-matrix";
|
||||
label = "KSCAN";
|
||||
};
|
||||
kscan0: kscan {
|
||||
compatible = "zmk,kscan-gpio-matrix";
|
||||
label = "KSCAN";
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
@@ -167,9 +167,9 @@ If the node you want to edit doesn't have a label, you can also write a new tree
|
||||
|
||||
```devicetree
|
||||
/ {
|
||||
kscan {
|
||||
debounce-press-ms = <0>;
|
||||
};
|
||||
kscan {
|
||||
debounce-press-ms = <0>;
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
@@ -244,7 +244,7 @@ Example:
|
||||
some-gpios =
|
||||
<&gpio0 0 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio0 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
|
||||
;
|
||||
;
|
||||
```
|
||||
|
||||
#### path
|
||||
|
||||
Reference in New Issue
Block a user