Changing decToInt to numToInt (adds support for Hex number interpreter)
- CLI now works with hex or decimal numbers - Hex requires 0x (technically just x would work too)
This commit is contained in:
		
							parent
							
								
									662d1f557f
								
							
						
					
					
						commit
						d6d792fdf9
					
				
					 10 changed files with 54 additions and 31 deletions
				
			
		| 
						 | 
				
			
			@ -444,7 +444,7 @@ void cliFunc_matrixState ( char* args )
 | 
			
		|||
 | 
			
		||||
	if ( arg1Ptr[0] != '\0' )
 | 
			
		||||
	{
 | 
			
		||||
		matrixDebugStateCounter = (uint16_t)decToInt( arg1Ptr );
 | 
			
		||||
		matrixDebugStateCounter = (uint16_t)numToInt( arg1Ptr );
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue