From 84fa3312cfa7d2237d4b56952f2cd6e3591210c4 Mon Sep 17 00:00:00 2001 From: stijn Date: Thu, 16 Apr 2020 09:13:57 +0200 Subject: all: Format code to add space after C++-style comment start. Note: the uncrustify configuration is explicitly set to 'add' instead of 'force' in order not to alter the comments which use extra spaces after // as a means of indenting text for clarity. --- ports/javascript/mpconfigport.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ports/javascript') diff --git a/ports/javascript/mpconfigport.h b/ports/javascript/mpconfigport.h index a9da57c87..0101e10c8 100644 --- a/ports/javascript/mpconfigport.h +++ b/ports/javascript/mpconfigport.h @@ -36,14 +36,14 @@ #define MICROPY_QSTR_BYTES_IN_HASH (2) #define MICROPY_ALLOC_PATH_MAX (256) #define MICROPY_ALLOC_PARSE_CHUNK_INIT (16) -#define MICROPY_EMIT_X64 (0) //BROKEN -#define MICROPY_EMIT_THUMB (0) //BROKEN +#define MICROPY_EMIT_X64 (0) // BROKEN +#define MICROPY_EMIT_THUMB (0) // BROKEN #define MICROPY_EMIT_INLINE_THUMB (0) #define MICROPY_COMP_MODULE_CONST (0) #define MICROPY_COMP_CONST (1) #define MICROPY_COMP_DOUBLE_TUPLE_ASSIGN (1) #define MICROPY_COMP_TRIPLE_TUPLE_ASSIGN (0) -#define MICROPY_MEM_STATS (0) //BROKEN +#define MICROPY_MEM_STATS (0) // BROKEN #define MICROPY_DEBUG_PRINTERS (0) #define MICROPY_ENABLE_GC (1) #define MICROPY_GC_ALLOC_THRESHOLD (1) @@ -131,7 +131,7 @@ extern const struct _mp_obj_module_t mp_module_utime; #define MICROPY_PORT_BUILTIN_MODULES \ { MP_ROM_QSTR(MP_QSTR_utime), MP_ROM_PTR(&mp_module_utime) }, \ -//#define MICROPY_EVENT_POLL_HOOK {ets_event_poll();} +// #define MICROPY_EVENT_POLL_HOOK {ets_event_poll();} #if MICROPY_PY_THREAD #define MICROPY_EVENT_POLL_HOOK \ do { \ @@ -168,7 +168,7 @@ extern const struct _mp_obj_module_t mp_module_utime; // type definitions for the specific machine -//#define MICROPY_MAKE_POINTER_CALLABLE(p) ((void*)((mp_uint_t)(p) | 1)) +// #define MICROPY_MAKE_POINTER_CALLABLE(p) ((void*)((mp_uint_t)(p) | 1)) // This port is intended to be 32-bit, but unfortunately, int32_t for // different targets may be defined in different ways - either as int -- cgit v1.2.3