mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
py: Convert occurrences of non-debug printf to mp_printf.
This commit is contained in:
@@ -35,9 +35,9 @@
|
||||
void mp_warning(const char *msg, ...) {
|
||||
va_list args;
|
||||
va_start(args, msg);
|
||||
printf("Warning: ");
|
||||
vprintf(msg, args);
|
||||
printf("\n");
|
||||
mp_print_str(&mp_plat_print, "Warning: ");
|
||||
mp_vprintf(&mp_plat_print, msg, args);
|
||||
mp_print_str(&mp_plat_print, "\n");
|
||||
}
|
||||
|
||||
void mp_emitter_warning(pass_kind_t pass, const char *msg) {
|
||||
|
||||
Reference in New Issue
Block a user