Skip to content

Commit e9352b4

Browse files
committed
quectel: Add math functions and change ssize max.
Signed-off-by: Nikola Neskovic <nikola.neskovic@quectel.com>
1 parent cef7905 commit e9352b4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ports/quectel/mpconfigport.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
#define MICROPY_PY_DEFLATE (0)
5959
#define MICROPY_PY_OS_URANDOM (1)
6060
#define MICROPY_OPT_COMPUTED_GOTO (1)
61+
#define MICROPY_PY_MATH_GAMMA_FIX_NEGINF (1)
62+
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
6163

6264
#define MICROPY_PY_TIME_TIME_TIME_NS (1)
6365
#define MICROPY_PY_TIME_GMTIME_LOCALTIME_MKTIME (1)
@@ -99,7 +101,7 @@
99101
#define MICROPY_PERSISTENT_CODE_LOAD (1)
100102

101103
#ifndef SSIZE_MAX
102-
#define SSIZE_MAX 0xFFFFFFFF
104+
#define SSIZE_MAX (0x7fffffff)
103105
#endif
104106

105107
#if defined(PLAT_Unisoc)

0 commit comments

Comments
 (0)