HUGE AVR RAM optimization (~28%).
- It's possible to get even more, but this is probably as far as I'll go - PROGMEM is really annoying to use, and makes the code look like ass - Now the Teensy 2++ should have enough RAM to use PartialMap easily
This commit is contained in:
		
							parent
							
								
									22abefcf1e
								
							
						
					
					
						commit
						6e4c28ef84
					
				
					 10 changed files with 152 additions and 72 deletions
				
			
		| 
						 | 
				
			
			@ -46,9 +46,10 @@ void cliFunc_echo( char* args );
 | 
			
		|||
// ----- Variables -----
 | 
			
		||||
 | 
			
		||||
// Scan Module command dictionary
 | 
			
		||||
const char scanCLIDictName[] = "Scan Module Commands";
 | 
			
		||||
const CLIDictItem scanCLIDict[] = {
 | 
			
		||||
	{ "echo",        "Example command, echos the arguments.", cliFunc_echo },
 | 
			
		||||
CLIDict_Entry( echo,        "Example command, echos the arguments." );
 | 
			
		||||
 | 
			
		||||
CLIDict_Def( scanCLIDict, "Scan Module Commands" ) = {
 | 
			
		||||
	CLIDict_Item( echo ),
 | 
			
		||||
	{ 0, 0, 0 } // Null entry for dictionary end
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue