fixup/test compiler warnings

This commit is contained in:
graham sanderson
2021-05-24 12:17:14 -05:00
committed by Graham Sanderson
parent 4f64f3af80
commit 7e4e3290d5
10 changed files with 23 additions and 8 deletions

View File

@@ -134,7 +134,7 @@ void hid_task(void) {
static bool has_key = false;
static bool toggle = false;
if (toggle = !toggle) {
if ((toggle = !toggle)) {
uint8_t keycode[6] = {0};
keycode[0] = HID_KEY_A;