Skip to content

Commit 8677f95

Browse files
committed
lib/utils: Clarify this is Adafruit's MicroPython derivative and help() isn't available yet.
1 parent 005b450 commit 8677f95

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/utils/pyexec.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ STATIC int pyexec_friendly_repl_process_char(int c) {
222222
} else if (ret == CHAR_CTRL_B) {
223223
// reset friendly REPL
224224
mp_hal_stdout_tx_str("\r\n");
225-
mp_hal_stdout_tx_str("MicroPython " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; " MICROPY_HW_BOARD_NAME " with " MICROPY_HW_MCU_NAME "\r\n");
226-
mp_hal_stdout_tx_str("Type \"help()\" for more information.\r\n");
225+
mp_hal_stdout_tx_str("Adafruit MicroPython " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; " MICROPY_HW_BOARD_NAME " with " MICROPY_HW_MCU_NAME "\r\n");
226+
// mp_hal_stdout_tx_str("Type \"help()\" for more information.\r\n");
227227
goto input_restart;
228228
} else if (ret == CHAR_CTRL_C) {
229229
// break
@@ -371,8 +371,8 @@ int pyexec_friendly_repl(void) {
371371
#endif
372372

373373
friendly_repl_reset:
374-
mp_hal_stdout_tx_str("MicroPython " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; " MICROPY_HW_BOARD_NAME " with " MICROPY_HW_MCU_NAME "\r\n");
375-
mp_hal_stdout_tx_str("Type \"help()\" for more information.\r\n");
374+
mp_hal_stdout_tx_str("Adafruit MicroPython " MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE "; " MICROPY_HW_BOARD_NAME " with " MICROPY_HW_MCU_NAME "\r\n");
375+
// mp_hal_stdout_tx_str("Type \"help()\" for more information.\r\n");
376376

377377
// to test ctrl-C
378378
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy