mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Allow tracking of more weight systems
I never imagined that people would want to track more than 4 weightsystems, but we just had an enhancement request from a user who tried to enter a 5th system. Let's hope 6 is enough for everyone. Fixes #383 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									9bff4eda35
								
							
						
					
					
						commit
						ba72f43e7f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								dive.h
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								dive.h
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -367,7 +367,7 @@ struct divecomputer {
 | 
			
		|||
};
 | 
			
		||||
 | 
			
		||||
#define MAX_CYLINDERS (8)
 | 
			
		||||
#define MAX_WEIGHTSYSTEMS (4)
 | 
			
		||||
#define MAX_WEIGHTSYSTEMS (6)
 | 
			
		||||
#define W_IDX_PRIMARY 0
 | 
			
		||||
#define W_IDX_SECONDARY 1
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue