Browse Source

add version info to terminal prompt

master
Daniel Peter Chokola 2 years ago
parent
commit
fdb2dd450d
  1. 5
      Core/Src/terminal.c

5
Core/Src/terminal.c

@ -8,9 +8,7 @@
/* Includes */ /* Includes */
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
/*
#include "config.h" #include "config.h"
*/
#include "terminal.h" #include "terminal.h"
/* Private Variables */ /* Private Variables */
@ -39,10 +37,7 @@ static int32_t term_stripn(char *buf, int32_t n);
/* Function Definitions */ /* Function Definitions */
void term_prompt() void term_prompt()
{ {
/*
term_printf("\r%s-g%s $ ", APP_NAME, GIT_REV); term_printf("\r%s-g%s $ ", APP_NAME, GIT_REV);
*/
term_printf("\r%s $ ", APP_NAME);
} }
void term_rx(char *buf, uint32_t len) void term_rx(char *buf, uint32_t len)

Loading…
Cancel
Save