mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	We forgot to pick up the 'value' field of a dive event
Just missed that one entirely in the xml parser for some reason. Probably because the fields don't have much semantic meaning, so I didn't even realize that I had missed one of the random integer values in an event. On my suunto, the 'value' field seems to contain things like the new Oxygen percentage of a gas change event etc. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
		
							parent
							
								
									c487ea055d
								
							
						
					
					
						commit
						9d8bdee350
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -587,6 +587,8 @@ static void try_to_fill_event(const char *name, char *buf) | |||
| 		return; | ||||
| 	if (MATCH(".flags", get_index, &event.flags)) | ||||
| 		return; | ||||
| 	if (MATCH(".value", get_index, &event.value)) | ||||
| 		return; | ||||
| 	nonmatch("event", name, buf); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue