Skip to content

Commit 8571634

Browse files
committed
Fix overridability for double typecode
1 parent eca9304 commit 8571634

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

py/circuitpy_mpconfig.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ extern void common_hal_mcu_enable_interrupts(void);
7070
#define MICROPY_ERROR_REPORTING (CIRCUITPY_FULL_BUILD ? MICROPY_ERROR_REPORTING_NORMAL : MICROPY_ERROR_REPORTING_TERSE)
7171
#define MICROPY_FLOAT_HIGH_QUALITY_HASH (0)
7272
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT)
73-
#define MICROPY_PY_DOUBLE_TYPECODE (CIRCUITPY_FULL_BUILD ? 1 : 0)
7473
#define MICROPY_GC_ALLOC_THRESHOLD (0)
7574
#define MICROPY_GC_SPLIT_HEAP (1)
7675
#define MICROPY_GC_SPLIT_HEAP_AUTO (1)
@@ -262,6 +261,10 @@ typedef long mp_off_t;
262261
#define MICROPY_PY_COLLECTIONS_DEQUE_SUBSCR (CIRCUITPY_FULL_BUILD)
263262
#endif
264263

264+
#ifndef MICROPY_PY_DOUBLE_TYPECODE
265+
#define MICROPY_PY_DOUBLE_TYPECODE (CIRCUITPY_FULL_BUILD ? 1 : 0)
266+
#endif
267+
265268
#ifndef MICROPY_PY_FUNCTION_ATTRS
266269
#define MICROPY_PY_FUNCTION_ATTRS (CIRCUITPY_FULL_BUILD)
267270
#endif

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