Browse Source

add soft version info

zhuyf 3 years ago
parent
commit
c54d276caf
2 changed files with 5 additions and 5 deletions
  1. 4 4
      loc_message.h
  2. 1 1
      main.cpp

+ 4 - 4
loc_message.h

@@ -149,11 +149,11 @@ struct loc_message
             pdoa -= TPI;
         }
 
-        if(fabs(pdoa) > 0.3){
-            while(pdoa < 0){
-                pdoa += TPI;
-            }
+        
+        while(pdoa < 0){
+            pdoa += TPI;
         }
+        
         pdoa -= PI;
 
         /*pdoa -= m_sit->m_pdoa_offset;

+ 1 - 1
main.cpp

@@ -203,7 +203,7 @@ void usage(char ** argv)
     }
     else if(cmd == "--version" || cmd == "-v")
     {
-        printf("dcserver (采集程序) 1.0.0 build 11\n");
+        printf("zhuhai xinxingxin data collector server (采集程序) 1.3.0 build 11\n");
     }
     else
     {