【类 型】:style
【主 题】:删除无用代码 【描 述】: [原因]:给中科院 八达岭项目提供mqtt内容的代码 [过程]: [影响]: 【结 束】 # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
This commit is contained in:
parent
0d82651ace
commit
3d9b813b8c
@ -1,6 +1,6 @@
|
||||
#include "commser.h"
|
||||
#include "motocontrol.h"
|
||||
//////////////////////////////MQTT_语音_MAVLINK 部分
|
||||
|
||||
extern void Hook_stop();
|
||||
extern void up_action(float motospeed);
|
||||
extern Motocontrol motocontrol;
|
||||
@ -637,10 +637,6 @@ void pubThread()
|
||||
fc.pubMQTTmsg("planeState", jsonString);
|
||||
/*更新4G网络测速ping值*/
|
||||
// pingNetTest();
|
||||
|
||||
// 八达岭需求 过后删除
|
||||
fc.pubMQTTmsg("heartBeat", topicPubMsg[0]);
|
||||
fc.pubMQTTmsg("position", topicPubMsg[15]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include "OneButton.h"
|
||||
#include "Serialcommand.h"
|
||||
#include "config.h"
|
||||
#include <Ticker.h> //调用Ticker.h库
|
||||
#include "Ticker.h" //调用Ticker.h库
|
||||
#include <soc/rtc_cntl_reg.h>
|
||||
#include "motocontrol.h"
|
||||
#include "moto.h"
|
||||
|
Loading…
Reference in New Issue
Block a user