添加自研批检仪检测命令
This commit is contained in:
@@ -3,19 +3,14 @@
|
||||
#include "string.h"
|
||||
#include "QDebug"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
InterFace *interFaceFind(const char *name)
|
||||
{
|
||||
extern const int __start_ifdef;
|
||||
extern const int __stop_ifdef;
|
||||
if_def *start=(if_def *)&__start_ifdef;
|
||||
if_def *end=(if_def *)&__stop_ifdef;
|
||||
extern const int __start_ifdef;
|
||||
extern const int __stop_ifdef;
|
||||
if_def *start = (if_def *)&__start_ifdef;
|
||||
if_def *end = (if_def *)&__stop_ifdef;
|
||||
if_def *item = 0;
|
||||
for (item=start;item<end;item++)
|
||||
for (item = start; item < end; item++)
|
||||
{
|
||||
if (item != nullptr)
|
||||
{
|
||||
@@ -26,7 +21,3 @@ InterFace *interFaceFind(const char *name)
|
||||
qWarning("can not find interface named '%s'", name);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user