diff options
| author | stijn | 2020-04-16 09:13:57 +0200 |
|---|---|---|
| committer | Damien George | 2020-04-23 11:24:25 +1000 |
| commit | 84fa3312cfa7d2237d4b56952f2cd6e3591210c4 (patch) | |
| tree | dc2b3e67bad9969fc5792ca0822798d58addf174 /ports/javascript | |
| parent | d6243568a05d423b58522435c3779975acbf56dd (diff) | |
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.
Diffstat (limited to 'ports/javascript')
| -rw-r--r-- | ports/javascript/mpconfigport.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 |
