Merge pull request #35 from dxmh/cradio-v2

fix(shields): Whitespace and indentation
This commit is contained in:
David Barr 2021-06-09 18:57:37 +01:00 committed by GitHub
commit 803c10567f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 30 additions and 28 deletions

View file

@ -11,7 +11,6 @@ config ZMK_SPLIT_BLE_ROLE_CENTRAL
endif
if SHIELD_CRADIO_RIGHT
config ZMK_KEYBOARD_NAME
@ -19,8 +18,6 @@ config ZMK_KEYBOARD_NAME
endif
if SHIELD_CRADIO_RIGHT || SHIELD_CRADIO_LEFT
config ZMK_SPLIT

View file

@ -3,9 +3,11 @@
*
* SPDX-License-Identifier: MIT
*/
#include <dt-bindings/zmk/matrix_transform.h>
/ {
chosen {
zmk,kscan = &kscan0;
zmk,matrix_transform = &default_transform;
@ -18,7 +20,7 @@
map = <
RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,21) RC(0,20) RC(0,19) RC(0,18) RC(0,17)
RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9) RC(0,26) RC(0,25) RC(0,24) RC(0,23) RC(0,22)
RC(0,10)RC(0,11) RC(0,12) RC(0,13) RC(0,14) RC(0,31) RC(0,30) RC(0,29) RC(0,28) RC(0,27)
RC(0,10) RC(0,11) RC(0,12) RC(0,13) RC(0,14) RC(0,31) RC(0,30) RC(0,29) RC(0,28) RC(0,27)
RC(0,15) RC(0,16) RC(0,33) RC(0,32)
>;
};
@ -46,4 +48,5 @@
, <&pro_micro_d 9 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
;
};
};

View file

@ -3,4 +3,5 @@
*
* SPDX-License-Identifier: MIT
*/
#include "cradio.dtsi"

View file

@ -3,6 +3,7 @@
*
* SPDX-License-Identifier: MIT
*/
#include "cradio.dtsi"
&default_transform {