This commit is contained in:
hm
2019-12-27 17:26:08 +08:00
parent c56960fedc
commit a550735eb9
9 changed files with 190 additions and 21 deletions
+35 -2
View File
@@ -1,6 +1,39 @@
#include "mavlinknode.h"
#include "mavlinknode.h"
MavLinkNode::MavLinkNode(QObject *parent) : QObject(parent)
{
this->run();
}
int MavLinkNode::run()//线程函数
{
while(1)
{
qDebug() << "run 1ms";
QThread::sleep(1);
}
return 0;
}