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:
parent
35ae82fff7
commit
ae738374ba
2 changed files with 104 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue