format code according to conventions [skip ci]

master
QMK Bot 2020-03-01 19:20:09 +00:00
parent e7fb873ee2
commit 95124bf933
1 changed files with 2 additions and 2 deletions

View File

@ -98,8 +98,8 @@ static int a2d(char ch) {
static char a2i(char ch, const char** src, int base, int* nump) { static char a2i(char ch, const char** src, int base, int* nump) {
const char* p = *src; const char* p = *src;
int num = 0; int num = 0;
int digit; int digit;
while ((digit = a2d(ch)) >= 0) { while ((digit = a2d(ch)) >= 0) {
if (digit > base) break; if (digit > base) break;
num = num * base + digit; num = num * base + digit;