summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-03-01 19:20:09 +0000
committerQMK Bot <hello@qmk.fm>2020-03-01 19:20:09 +0000
commit95124bf9331e67a7373ed4e3fc4d14f23e18a85b (patch)
tree39895355e49422cc148bb5f301c704d80405dc33 /tmk_core
parente7fb873ee281d93dbf96f369bd3a0a50e766eda3 (diff)
format code according to conventions [skip ci]
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/chibios/printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/common/chibios/printf.c b/tmk_core/common/chibios/printf.c
index 17c1e63416..a99752bb3d 100644
--- a/tmk_core/common/chibios/printf.c
+++ b/tmk_core/common/chibios/printf.c
@@ -98,8 +98,8 @@ static int a2d(char ch) {
static char a2i(char ch, const char** src, int base, int* nump) {
const char* p = *src;
- int num = 0;
- int digit;
+ int num = 0;
+ int digit;
while ((digit = a2d(ch)) >= 0) {
if (digit > base) break;
num = num * base + digit;