Commit c286b9bf authored by 957dd's avatar 957dd

update delay

parent 214f3848
No preview for this file type
...@@ -125,7 +125,7 @@ int main(int argc, char *argv[]) { ...@@ -125,7 +125,7 @@ int main(int argc, char *argv[]) {
} }
pin_init(); pin_init();
pwm_speed(); //pwm初始化,车为停止 pwm_speed(); //pwm初始化,车为停止
Delay_Ms(60,0); Delay_Ms(20,0);
const char *readbuf=device_inspect(); const char *readbuf=device_inspect();
...@@ -140,7 +140,7 @@ int main(int argc, char *argv[]) { ...@@ -140,7 +140,7 @@ int main(int argc, char *argv[]) {
sprintf(TOPIC,"app2dev/%s",readbuf); sprintf(TOPIC,"app2dev/%s",readbuf);
sprintf(TOPIC3,"%s",readbuf); sprintf(TOPIC3,"%s",readbuf);
printf("1:%s,2:%s,3:%s\n",TOPIC,TOPIC2,TOPIC3); printf("1:%s,2:%s,3:%s\n",TOPIC,TOPIC2,TOPIC3);
system("pkill chromium-browser"); system("pkill chromium");
gStart=time(NULL);//开始时间戳 gStart=time(NULL);//开始时间戳
......
No preview for this file type
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