Linux: modified shell to not show _main suffix

The builtin commands all have _main suffix by convention so
no need to show _main. Also nsh calls the commmands without the
_main suffix.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-03-22 11:14:14 -07:00
parent 1f84c348fc
commit 526b0e68eb
2 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -88,7 +88,7 @@
#endif
static const int ERROR = -1;
#define DEFAULT_DEVICE_NAME "/dev/ttyS1"
#define DEFAULT_DEVICE_NAME "/tmp/ttyS1"
#define MAX_DATA_RATE 20000 ///< max data rate in bytes/s
#define MAIN_LOOP_DELAY 10000 ///< 100 Hz @ 1000 bytes/s data rate
#define FLOW_CONTROL_DISABLE_THRESHOLD 40 ///< picked so that some messages still would fit it.