【类 型】:style

【主	题】:没有改动
【描	述】:
	[原因]:
	[过程]:
	[影响]:
【结	束】

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
tk 2024-07-04 14:25:50 +08:00
parent 07d3038579
commit ed072093d8
3 changed files with 6 additions and 7 deletions

View File

@ -47,6 +47,7 @@ public:
String getMacAdd();
/*wifi*/
void connectWifi();
bool checkWiFiStatus();
/*mqtt*/
PubSubClient *mqttClient; // 指向 mqtt服务器连接 对象
void connectMqtt(String topicSub);
@ -77,7 +78,6 @@ public:
void Camera_action_ret();
void Camera_action_move(uint8_t vpitch, uint8_t vyaw);
void Camera_action_zoom(uint8_t vzoom);
bool checkWiFiStatus();
private:
char *ssid; // wifi帐号

View File

@ -41,8 +41,8 @@ String topicHandle[] = {"crosFrequency"};
boolean isPush = false; // 记得删除 板子按钮状态 ps:D3引脚下拉微动开关
/*异步线程对象*/
Ticker pubTicker; // 定时发布主题 线程
Ticker mavTicker; // 定时 指定飞控mavlink 串口返回的数据类别 防止飞控启动滞后
Ticker pubTicker; // 定时发布主题 线程
Ticker mavTicker; // 定时 指定飞控mavlink 串口返回的数据类别 防止飞控启动滞后
// Ticker chanTicker; //定时向飞控 发送油门指定
/**
@ -638,7 +638,6 @@ void pubThread()
// pingNetTest();
}
/**
* @description: mavlink
*/

View File

@ -16,7 +16,7 @@ extern const int topicPubCount;
extern String topicPubMsg[];
extern String oldMsg[];
extern String topicHandle[];
extern FoodCube fc; // 创建项目对象
extern Ticker pubTicker; // 定时发布主题 线程
extern Ticker mavTicker; // 定时 指定飞控mavlink 串口返回的数据类别 防止飞控启动滞后
extern FoodCube fc; // 创建项目对象
extern Ticker pubTicker; // 定时发布主题 线程
extern Ticker mavTicker; // 定时 指定飞控mavlink 串口返回的数据类别 防止飞控启动滞后
#endif