mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-22 12:51:39 +03:00
23 lines
316 B
C
23 lines
316 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <stddef.h>
|
||
|
|
||
|
#include "bit_buffer.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#define FELICA_CRC_SIZE sizeof(uint16_t)
|
||
|
|
||
|
void felica_crc_append(BitBuffer* buf);
|
||
|
|
||
|
bool felica_crc_check(const BitBuffer* buf);
|
||
|
|
||
|
void felica_crc_trim(BitBuffer* buf);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|