back
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user