From 9366ed728280f4875ebbba9c0ef1eade03c96d35 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 16 Dec 2020 14:27:23 +1100 Subject: Normalise include statements in keyboard code (#11185) --- tmk_core/common/led.h | 4 ++-- tmk_core/protocol/chibios/lufa_utils/LUFA/Drivers/USB/USB.h | 4 ++-- tmk_core/protocol/chibios/main.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tmk_core') diff --git a/tmk_core/common/led.h b/tmk_core/common/led.h index 81c664d606..0fe38ea035 100644 --- a/tmk_core/common/led.h +++ b/tmk_core/common/led.h @@ -17,8 +17,8 @@ along with this program. If not, see . #pragma once -#include "stdint.h" -#include "stdbool.h" +#include +#include /* FIXME: Add doxygen comments here. */ diff --git a/tmk_core/protocol/chibios/lufa_utils/LUFA/Drivers/USB/USB.h b/tmk_core/protocol/chibios/lufa_utils/LUFA/Drivers/USB/USB.h index f59c8d1dda..22f882cbb8 100644 --- a/tmk_core/protocol/chibios/lufa_utils/LUFA/Drivers/USB/USB.h +++ b/tmk_core/protocol/chibios/lufa_utils/LUFA/Drivers/USB/USB.h @@ -1,6 +1,6 @@ #include "progmem.h" -#include "stddef.h" -#include "inttypes.h" +#include +#include #define ATTR_PACKED __attribute__((packed)) /** Concatenates the given input into a single token, via the C Preprocessor. diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c index b99a40f1e0..e07c181fc8 100644 --- a/tmk_core/protocol/chibios/main.c +++ b/tmk_core/protocol/chibios/main.c @@ -31,7 +31,7 @@ #include "led.h" #include "sendchar.h" #include "debug.h" -#include "printf.h" +#include "print.h" #ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP // Change this to be TRUE once we've migrated keyboards to the new init system -- cgit v1.2.3