forked from kofal.net/zmk
chore: clang-format the codebase.
* Use the LLVM style * Override indent width (8) and column limit (100) * Fixes #142.
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#define BT_CLR_CMD 0
|
||||
#define BT_NXT_CMD 1
|
||||
#define BT_PRV_CMD 2
|
||||
#define BT_SEL_CMD 3
|
||||
#define BT_CLR_CMD 0
|
||||
#define BT_NXT_CMD 1
|
||||
#define BT_PRV_CMD 2
|
||||
#define BT_SEL_CMD 3
|
||||
// #define BT_FULL_RESET_CMD 4
|
||||
|
||||
/*
|
||||
@@ -15,7 +15,7 @@ Note: Some future commands will include additional parameters, so we
|
||||
defines these aliases up front.
|
||||
*/
|
||||
|
||||
#define BT_CLR BT_CLR_CMD 0
|
||||
#define BT_NXT BT_NXT_CMD 0
|
||||
#define BT_PRV BT_PRV_CMD 0
|
||||
#define BT_SEL BT_SEL_CMD
|
||||
#define BT_CLR BT_CLR_CMD 0
|
||||
#define BT_NXT BT_NXT_CMD 0
|
||||
#define BT_PRV BT_PRV_CMD 0
|
||||
#define BT_SEL BT_SEL_CMD
|
||||
@@ -55,7 +55,7 @@
|
||||
#define QUOT 0x34
|
||||
#define GRAV 0x35
|
||||
#define CMMA 0x36
|
||||
#define DOT 0x37
|
||||
#define DOT 0x37
|
||||
#define FSLH 0x38
|
||||
#define CLCK 0x39
|
||||
#define F1 0x3A
|
||||
@@ -77,8 +77,8 @@
|
||||
#define INS 0x49
|
||||
#define HOME 0x4A
|
||||
#define PGUP 0x4B
|
||||
#define DEL 0x4C
|
||||
#define END 0x4D
|
||||
#define DEL 0x4C
|
||||
#define END 0x4D
|
||||
#define PGDN 0x4E
|
||||
#define RARW 0x4F
|
||||
#define LARW 0x50
|
||||
|
||||
@@ -4,9 +4,10 @@
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#define RST_WARM 0x00
|
||||
#define RST_COLD 0x01
|
||||
#define RST_WARM 0x00
|
||||
#define RST_COLD 0x01
|
||||
|
||||
// AdaFruit nrf52 Bootloader Specific. See https://github.com/adafruit/Adafruit_nRF52_Bootloader/blob/d6b28e66053eea467166f44875e3c7ec741cb471/src/main.c#L107
|
||||
// AdaFruit nrf52 Bootloader Specific. See
|
||||
// https://github.com/adafruit/Adafruit_nRF52_Bootloader/blob/d6b28e66053eea467166f44875e3c7ec741cb471/src/main.c#L107
|
||||
|
||||
#define RST_UF2 0x57
|
||||
#define RST_UF2 0x57
|
||||
Reference in New Issue
Block a user