From 33ecb8c2e2813ed629927fa3e7fb5c8c7c0e9610 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 25 Jan 2016 14:43:22 -0800 Subject: [PATCH] A bit of datatype modernization --- key_defs.h | 4 ++-- led_control.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/key_defs.h b/key_defs.h index 7f9f8d20..0f06e62d 100644 --- a/key_defs.h +++ b/key_defs.h @@ -4,8 +4,8 @@ #include "HIDTables.h" #include "HIDAliases.h" typedef struct { - byte flags; - byte rawKey; + int8_t flags; + int8_t rawKey; } Key; diff --git a/led_control.h b/led_control.h index 7e9a556f..78eb109e 100644 --- a/led_control.h +++ b/led_control.h @@ -17,7 +17,7 @@ #define LED_COUNT 64 -static const int key_led_map[4][16] = { +static const int8_t key_led_map[4][16] = { {3,4,11,12,19,20,26,27, 36,37,43,44,51,52,59,60}, {2,5,10,13,18,21,31,28, 35,32,42,45,50,53,58,61}, {1,6,9,14, 17,22,25,29, 34,38,41,46,49,54,57,62},