k4be 2 жил өмнө
parent
commit
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;