Reduce includes for crc header (#18947)
This commit is contained in:
parent
f11a247127
commit
3de296f420
2 changed files with 25 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue