Pete Johanson
5 years ago
3 changed files with 14 additions and 7 deletions
@ -1,8 +1,8 @@ |
|||||||
#ifndef ZMK_H |
#ifndef ZMK_H |
||||||
#define ZMK_H |
#define ZMK_H |
||||||
|
|
||||||
#define __ZMK_MATRIX_NODE_ID DT_PATH(kscan) |
#define ZMK_MATRIX_NODE_ID DT_CHOSEN(zmk_kscan) |
||||||
#define ZMK_MATRIX_ROWS DT_PROP_LEN(__ZMK_MATRIX_NODE_ID,row_gpios) |
#define ZMK_MATRIX_ROWS DT_PROP_LEN(ZMK_MATRIX_NODE_ID,row_gpios) |
||||||
#define ZMK_MATRIX_COLS DT_PROP_LEN(__ZMK_MATRIX_NODE_ID,col_gpios) |
#define ZMK_MATRIX_COLS DT_PROP_LEN(ZMK_MATRIX_NODE_ID,col_gpios) |
||||||
|
|
||||||
#endif |
#endif |
||||||
|
Loading…
Reference in new issue