Force curve gauge is feature complete!!

- Fixed no argument default (would skip the null in some cli commands)
- Added free running force/distance measure
- Most of the help information
- Zeroing force and distance
- Start/End marker setting
This commit is contained in:
Jacob Alexander 2014-02-04 00:27:33 -08:00
parent 35ae82fff7
commit ae738374ba
2 changed files with 104 additions and 3 deletions

View file

@ -137,7 +137,11 @@ void process_cli()
switch ( CLILineBuffer[prev_buf_pos] )
{
case 0x0D: // Enter
CLILineBufferCurrent--; // Remove the Enter
CLILineBuffer[CLILineBufferCurrent - 1] = ' '; // Replace Enter with a space (resolves a bug in args)
// Remove the space if there is no command
if ( CLILineBufferCurrent == 1 )
CLILineBufferCurrent--;
// Process the current line buffer
commandLookup_cli();