[apps/code] Repare print() in micropython

Change-Id: I43c46748b15d83e071c7b7f1e8448384ce5ad77f
This commit is contained in:
Émilie Feral
2017-08-17 15:33:53 +02:00
parent 3184bc2276
commit b50296d9c2
5 changed files with 48 additions and 7 deletions

View File

@@ -72,8 +72,7 @@ typedef long mp_off_t;
#define SEEK_CUR 1
//#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
#define MP_PLAT_PRINT_STRN(str, len) ((void)0)
#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)
// extra built in names to add to the global namespace
#define MICROPY_PORT_BUILTINS \