Reduce includes for crc header (#18947)

This commit is contained in:
Joel Challis
2022-11-03 21:36:58 +00:00
committed by GitHub
parent f11a247127
commit 3de296f420
2 changed files with 25 additions and 8 deletions

View File

@@ -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);
__attribute__((weak)) uint8_t crc8(const void *data, size_t data_len);