初始提交卡包 USB 工程
纳入固件源码、屏幕组件、nand_xfer 工具和文档。忽略本机构建产物、sdkconfig,以及含本机路径的依赖锁。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#ifndef __CRC_H__
|
||||
#define __CRC_H__
|
||||
|
||||
#include "config.h"
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
uint16_t crc16_ccitt_update(uint16_t crc_prev, uint8_t data);
|
||||
uint16_t crc16_ccitt_calculate(const uint8_t *data, size_t length);
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user