mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
修复因内存对齐访问导致的硬件错误
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#define MASTER_PROCESS_H
|
||||
|
||||
#include "bsp_usart.h"
|
||||
#include "usart.h"
|
||||
#include "seasky_protocol.h"
|
||||
|
||||
#define VISION_RECV_SIZE 36u
|
||||
@@ -13,7 +12,7 @@
|
||||
*
|
||||
* @param handle 用于和视觉通信的串口handle(C板上一般为USART1,丝印为USART2,4pin)
|
||||
*/
|
||||
Vision_Recv_s *VisionInit(UART_HandleTypeDef *handle);
|
||||
Vision_Recv_s *VisionInit(UART_HandleTypeDef *_handle);
|
||||
|
||||
/**
|
||||
* @brief 发送视觉视觉
|
||||
@@ -22,11 +21,4 @@ Vision_Recv_s *VisionInit(UART_HandleTypeDef *handle);
|
||||
*/
|
||||
void VisionSend(Vision_Send_s *send);
|
||||
|
||||
/**
|
||||
* @brief 返回所需的上位机数据
|
||||
*
|
||||
* @return Vision_Recv_s* 数据结构体指针
|
||||
*/
|
||||
Vision_Recv_s* VisionGetcmd();
|
||||
|
||||
#endif // !MASTER_PROCESS_H
|
||||
Reference in New Issue
Block a user