Commit ed75a551 authored by 957dd's avatar 957dd

Merge branch 'feature/ptz_angle_adjust' into 'master'

Feature/ptz angle adjust See merge request !101
parents 5afe2c13 c8393c46
#define _XOPEN_SOURCE 700
#define _XOPEN_SOURCE 700 //strptime(ts, "%Y%m%d%H%M", &tm)用这个非标准函数,不使用这2个的话无法使用
#define _DEFAULT_SOURCE
#include "common.h"
......
......@@ -117,7 +117,7 @@ int device_judg(CodeEnum_t code,char *sub_str) {
}else if(code == CAR_0104) {
device_init(DEVICE_CAR0104);
my_zlog_info("使用推土机,使用型号%s",sub_str);
} if (code == CAR_0105) {
}else if (code == CAR_0105) {
device_init(DEVICE_CAR0105);
my_zlog_info("使用人坐超大车,型号%s",sub_str);
}else if(code == TANK_0202) {
......@@ -150,7 +150,6 @@ int device_judg(CodeEnum_t code,char *sub_str) {
}else {
my_zlog_error("没有找到设备号,尝试启用备用mqtt,topic进行改名");
g_device_name_exists_s=1;
}
return 0;
}
......
No preview for this file type
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment