소스 검색

Main timer is 100Hz

k4be 2 년 전
부모
커밋
0557d5b5df
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      soft/main.h

+ 2 - 2
soft/main.h

@@ -63,7 +63,7 @@
 #define ERROR_I2C	1
 #define ERROR_I2C_TIMEOUT	2
 
-#define ms(x) (x/100)
+#define ms(x) (x/10)
 
 struct timers {
 	unsigned int owire;
@@ -73,7 +73,7 @@ struct timers {
 
 struct system_s {
 	struct timers timers;
-	unsigned int global_error;	
+	unsigned int global_error;
 };
 
 extern volatile struct system_s System;