summaryrefslogtreecommitdiff
path: root/quantum/crc.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-11-03 21:36:58 +0000
committerGitHub <noreply@github.com>2022-11-03 21:36:58 +0000
commit3de296f42014c489682730d9ab554d25ba8953a4 (patch)
tree8403b67ce08e3d36d0ab6b76d5b9f12320191562 /quantum/crc.h
parentf11a247127c82bc207f20e0b1be2cf6efea3a129 (diff)
Reduce includes for crc header (#18947)
Diffstat (limited to 'quantum/crc.h')
-rw-r--r--quantum/crc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/quantum/crc.h b/quantum/crc.h
index c17f5888e2..86635847d0 100644
--- a/quantum/crc.h
+++ b/quantum/crc.h
@@ -16,7 +16,8 @@
#pragma once
-#include "quantum.h"
+#include <stddef.h>
+#include <stdint.h>
/**
* The type of the CRC values.
@@ -41,4 +42,4 @@ __attribute__((weak)) void crc_init(void);
* \param[in] data_len Number of bytes in the \a data buffer.
* \return The calculated crc value.
*/
-__attribute__((weak)) uint8_t crc8(const void *data, size_t data_len); \ No newline at end of file
+__attribute__((weak)) uint8_t crc8(const void *data, size_t data_len);