summaryrefslogtreecommitdiff
path: root/quantum/quantum.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-07-24 19:56:45 +0100
committerGitHub <noreply@github.com>2021-07-24 19:56:45 +0100
commitb5bcd5b0a18079df1252a718588255c62d24a054 (patch)
tree886b84473e94718fed4de18a6d6c5b5b9e46eb89 /quantum/quantum.h
parent145d89ab9192d08b7e22a14105d27988944b7b0c (diff)
Refactor some platform dependent logic (#13675)
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r--quantum/quantum.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h
index 46fc0eb1e4..55f6dbb7da 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -15,16 +15,7 @@
*/
#pragma once
-#if defined(__AVR__)
-# include <avr/pgmspace.h>
-# include <avr/io.h>
-# include <avr/interrupt.h>
-#endif
-#if defined(PROTOCOL_CHIBIOS)
-# include <hal.h>
-# include "chibios_config.h"
-#endif
-
+#include "platform.h"
#include "wait.h"
#include "matrix.h"
#include "keymap.h"