mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
format code according to conventions [skip ci]
This commit is contained in:
parent
e7fb873ee2
commit
95124bf933
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue