refactor: Replace tabs with spaces

Standardized indentation to use spaces with a new pre-commit hook.
This commit is contained in:
Joel Spadin
2023-04-22 23:25:56 -05:00
committed by Pete Johanson
parent 32ae776c42
commit 94061bb916
613 changed files with 11572 additions and 11567 deletions

View File

@@ -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