mirror of
https://git.aixiao.me/aixiao/Danger-alarm.git
synced 2025-07-29 19:13:39 +08:00
Add FreeRTOS
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
#ifndef ZC13_HPP
|
||||
#define ZC13_HPP
|
||||
#ifndef ZC13_H
|
||||
#define ZC13_H
|
||||
|
||||
/* Scheduler include files. */
|
||||
#include "FreeRTOS.h"
|
||||
#include "task.h"
|
||||
#include "semphr.h"
|
||||
#include "queue.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <strings.h>
|
||||
@@ -15,7 +21,6 @@
|
||||
#define ZC13_PIO_SM_RX 1
|
||||
#define ZC13_PIO_SERIAL_BAUD 9600
|
||||
|
||||
extern int ZC13_INIT();
|
||||
extern int ZC13(const char *model);
|
||||
extern void CH4(void *pvParameters);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user