mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	DLF: Parse diluent changes as a gaschange event
Signed-off-by: Anton Lundin <glance@acc.umu.se>
This commit is contained in:
		
							parent
							
								
									f0303802dd
								
							
						
					
					
						commit
						8f6f9cd39d
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -3710,7 +3710,10 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size)
 | 
			
		|||
				strcpy(cur_event.name, "Fatal");
 | 
			
		||||
				break;
 | 
			
		||||
			case 23:
 | 
			
		||||
				strcpy(cur_event.name, "Diluent");
 | 
			
		||||
				strcpy(cur_event.name, "gaschange");
 | 
			
		||||
				cur_event.type = SAMPLE_EVENT_GASCHANGE2;
 | 
			
		||||
				cur_event.value = ptr[7] << 8 ^ ptr[6];
 | 
			
		||||
				event_end();
 | 
			
		||||
				break;
 | 
			
		||||
			case 24:
 | 
			
		||||
				strcpy(cur_event.name, "gaschange");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue