Skip to content

Commit

Permalink
Don't print git hash as well as git tag in banner.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgeorge committed May 3, 2014
1 parent 1549f17 commit 6ec835d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stmhal/pyexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ int pyexec_friendly_repl(void) {
#endif

friendly_repl_reset:
stdout_tx_str("Micro Python " MICROPY_GIT_TAG " (" MICROPY_GIT_HASH " on " MICROPY_BUILD_DATE "); " MICROPY_HW_BOARD_NAME " with STM32F405RG\r\n");
stdout_tx_str("Micro Python " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; " MICROPY_HW_BOARD_NAME " with STM32F405RG\r\n");
stdout_tx_str("Type \"help()\" for more information.\r\n");

// to test ctrl-C
Expand Down
2 changes: 1 addition & 1 deletion unix/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ STATIC char *prompt(char *p) {
}

STATIC void do_repl(void) {
printf("Micro Python " MICROPY_GIT_TAG " (" MICROPY_GIT_HASH " on " MICROPY_BUILD_DATE "); UNIX version\n");
printf("Micro Python " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; UNIX version\n");

for (;;) {
char *line = prompt(">>> ");
Expand Down

0 comments on commit 6ec835d

Please sign in to comment.