Przeglądaj źródła

去掉多余打印信息

guoqiang 1 rok temu
rodzic
commit
b8c6016a7e

Plik diff jest za duży
+ 10 - 10
Project/AirControlValve.uvguix.JL200


+ 1 - 1
Project/AirControlValve.uvprojx

@@ -276,7 +276,7 @@
               </OCR_RVCT3>
               <OCR_RVCT4>
                 <Type>1</Type>
-                <StartAddress>0x800b000</StartAddress>
+                <StartAddress>0x8000000</StartAddress>
                 <Size>0xa800</Size>
               </OCR_RVCT4>
               <OCR_RVCT5>

+ 1 - 1
User/cfg.h

@@ -40,7 +40,7 @@ extern "C" {
 #include "ac780x.h"
 
 //控制程序,是否编译为  bootloader, hex 格式
-//#define IS_BOOTLOADER       (1)   
+#define IS_BOOTLOADER       (1)   
 
 
 

+ 7 - 7
User/process.c

@@ -126,13 +126,13 @@ void Process_RunPeriod(void)
 	
 	
 	
-	if(g_print_interval >= 1000){
-		g_print_interval=0;
-		PressureSensor_Print();
-		
-		printf("the NTC temperature: %f \r\n",getTemperature());
-		printf("the DIFF ADC1-ADC2: %d \r\n", getHalldiff());
-	}
+//	if(g_print_interval >= 1000){
+//		g_print_interval=0;
+//		PressureSensor_Print();
+//		
+//		printf("the NTC temperature: %f \r\n",getTemperature());
+//		printf("the DIFF ADC1-ADC2: %d \r\n", getHalldiff());
+//	}