mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	FIX: tunnel mqtt compatible with C12
Change-Id: Ibff24003603ed5e4bd9ed2872eac4ff38fb6f5d7
This commit is contained in:
		
							parent
							
								
									e6a03b48ad
								
							
						
					
					
						commit
						a20229f222
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1429,11 +1429,13 @@ void MachineObject::parse_version_func()
 | 
			
		|||
 | 
			
		||||
    } else if (printer_type == "C12") {
 | 
			
		||||
        is_support_ai_monitoring = true;
 | 
			
		||||
        is_cloud_print_only = true;
 | 
			
		||||
        is_support_remote_tunnel = true;
 | 
			
		||||
        is_cloud_print_only      = true;
 | 
			
		||||
        local_camera_proto       = 1;
 | 
			
		||||
 | 
			
		||||
        if (ota_version != module_vers.end()) {
 | 
			
		||||
            is_support_tunnel_mqtt = (ota_version->second.sw_ver.compare("01.03.50.01") >= 0 ||
 | 
			
		||||
                                      (esp32_version != module_vers.end() && esp32_version->second.sw_ver.compare("01.05.15.00") >= 0));
 | 
			
		||||
            is_support_remote_tunnel = ota_version->second.sw_ver.compare("01.03.50.01") >= 0;
 | 
			
		||||
            if (lifecycle == PrinterFirmwareType::FIRMWARE_TYPE_PRODUCTION) {
 | 
			
		||||
                is_support_mqtt_alive = ota_version->second.sw_ver.compare("01.03.50.01") >= 0;
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue