11.12:添加信号量同步机制;完成网关节点对环境节点的执行器控制功能。
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
#include "stm32f10x.h" // Device header
|
||||
#include "FreeRTOS.h"
|
||||
#include "queue.h"
|
||||
// #include "semphr.h"
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
@@ -15,13 +14,6 @@
|
||||
#define USART3_GPIO_PIN_ATK_MD0 GPIO_Pin_3 // PB3
|
||||
#define USART3_QUEUE_LENGTH 256
|
||||
|
||||
typedef struct
|
||||
{
|
||||
/* data */
|
||||
uint8_t *ucRxBuffer;
|
||||
uint8_t ucIndex;
|
||||
}Usart3RecBuffer_t;
|
||||
|
||||
extern QueueHandle_t xQueueUsart3ReHdlr;
|
||||
|
||||
void vUsart3Init(uint32_t ulUsart3Baudrate);
|
||||
|
||||
Reference in New Issue
Block a user