1
0
Fork 0

Format code according to conventions (#16419)

This commit is contained in:
QMK Bot 2022-02-21 09:44:27 -08:00 committed by GitHub
parent 3290377918
commit 2f0dc0fb6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 320 additions and 329 deletions

View file

@ -125,11 +125,10 @@ uint8_t ps2_host_recv_response(void) {
// Command may take 25ms/20ms at most([5]p.46, [3]p.21)
// 250 * 100us(wait for start bit in ps2_host_recv)
uint8_t data = 0;
uint8_t try
= 250;
uint8_t try = 250;
do {
data = ps2_host_recv();
} while (try --&&ps2_error);
} while (try-- && ps2_error);
return data;
}