kopia lustrzana https://gitlab.com/Teuniz/DSRemote
				
				
				
			Included DS1104Z Plus to the device list.
							rodzic
							
								
									7b3102701c
								
							
						
					
					
						commit
						59e32e34a5
					
				
							
								
								
									
										2
									
								
								global.h
								
								
								
								
							
							
						
						
									
										2
									
								
								global.h
								
								
								
								
							| 
						 | 
				
			
			@ -35,7 +35,7 @@
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
#define PROGRAM_NAME          "DSRemote"
 | 
			
		||||
#define PROGRAM_VERSION       "0.35_1705151151"
 | 
			
		||||
#define PROGRAM_VERSION       "0.35_1706022131"
 | 
			
		||||
 | 
			
		||||
#define MAX_PATHLEN            4096
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1122,6 +1122,19 @@ void UI_Mainwindow::get_device_model(const char *str)
 | 
			
		|||
    if(devparms.use_extra_vertdivisions)  devparms.vertdivisions = 10;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if(!strcmp(str, "DS1104Z Plus"))
 | 
			
		||||
  {
 | 
			
		||||
    devparms.channel_cnt = 4;
 | 
			
		||||
 | 
			
		||||
    devparms.bandwidth = 100;
 | 
			
		||||
 | 
			
		||||
    devparms.modelserie = 1;
 | 
			
		||||
 | 
			
		||||
    devparms.hordivisions = 12;
 | 
			
		||||
 | 
			
		||||
    if(devparms.use_extra_vertdivisions)  devparms.vertdivisions = 10;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if(devparms.channel_cnt && devparms.bandwidth && devparms.modelserie)
 | 
			
		||||
  {
 | 
			
		||||
    strcpy(devparms.modelname, str);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue