add calculate CRC function

This commit is contained in:
2024-12-20 16:56:05 +08:00
parent 2ff2916ed6
commit 21a5a2e783
2 changed files with 16 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#define RS485_RCU RCU_USART0
#define RS485_GPIO_RCU RCU_GPIOA