forked from StopPointTeam/TaiChi
修正 include 错误
This commit is contained in:
parent
dea3f23e52
commit
f1b5f711bf
@ -1,3 +1,4 @@
|
|||||||
|
#include <Arduino.h>
|
||||||
#include <NeoHWSerial.h>
|
#include <NeoHWSerial.h>
|
||||||
|
|
||||||
#include "radioTaiChi.h"
|
#include "radioTaiChi.h"
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
#define RADIOTAICHI_H
|
#define RADIOTAICHI_H
|
||||||
|
|
||||||
|
|
||||||
#include <Arduino.h>
|
|
||||||
#include <NeoHWSerial.h>
|
#include <NeoHWSerial.h>
|
||||||
|
|
||||||
//注释以关闭调试功能
|
//注释以关闭调试功能
|
||||||
@ -52,6 +51,7 @@ public:
|
|||||||
static void SetHandleMessageFunction(HandleMessageFunction hm_func); //设置接收回调函数
|
static void SetHandleMessageFunction(HandleMessageFunction hm_func); //设置接收回调函数
|
||||||
static void DisableReceiveInterrupt(); //禁用接收中断
|
static void DisableReceiveInterrupt(); //禁用接收中断
|
||||||
static void EnableReceiveInterrupt(); //恢复接收中断
|
static void EnableReceiveInterrupt(); //恢复接收中断
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static bool Receive(uint8_t ch, uint8_t status); //接收,使用中断触发
|
static bool Receive(uint8_t ch, uint8_t status); //接收,使用中断触发
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|
||||||
|
|
||||||
//注释以关闭调试功能
|
//注释以关闭调试功能
|
||||||
#define SERVO_DEBUG
|
#define SERVO_DEBUG
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user