Content-Length: 270361 | pFad | http://github.com/adafruit/circuitpython/commit/8571634abc3095d32fd32ebc344aa959ed4da75a

29 Fix overridability for double typecode · adafruit/circuitpython@8571634 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/adafruit/circuitpython/commit/8571634abc3095d32fd32ebc344aa959ed4da75a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy