Fix LEDs in ptdump command
This commit is contained in:
		@@ -274,8 +274,11 @@ static shellmatta_retCode_t shell_cmd_pt1000_res_loop(const shellmatta_handle_t
 | 
			
		||||
			shellmatta_printf(handle, "\x1b[1A\x1b[150D\x1b[K");
 | 
			
		||||
		shell_cmd_pt1000_res(handle, "", 0UL);
 | 
			
		||||
 | 
			
		||||
		led_set(0, led_status);
 | 
			
		||||
		led_set(1, !led_status);
 | 
			
		||||
		led_set(1, led_status);
 | 
			
		||||
		if (adc_pt1000_check_error() & ADC_PT1000_WATCHDOG_ERROR) {
 | 
			
		||||
			led_set(0, 1);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		led_status ^= 0x1;
 | 
			
		||||
 | 
			
		||||
		systick_wait_ms(150);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user