8000 Don't print git hash as well as git tag in banner. · tmbinc/micropython@6ec835d · GitHub < 8000 body class="logged-out env-production page-responsive" style="word-wrap: break-word;">
Skip to content

Commit 6ec835d

Browse files
committed
Don't print git hash as well as git tag in banner.
1 parent 1549f17 commit 6ec835d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stmhal/pyexec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ int pyexec_friendly_repl(void) {
155155
#endif
156156

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

161161
// to test ctrl-C

unix/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ STATIC char *prompt(char *p) {
142142
}
143143

144144
STATIC void do_repl(void) {
145-
printf("Micro Python " MICROPY_GIT_TAG " (" MICROPY_GIT_HASH " on " MICROPY_BUILD_DATE "); UNIX version\n");
145+
printf("Micro Python " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; UNIX version\n");
146146

147147
for (;;) {
148148
char *line = prompt(">>> ");

0 commit comments

Comments
 (0)
0