comment out math.fmod to reduce code size
This commit is contained in:
parent
9d0c733073
commit
8369f74bd0
|
@ -27,7 +27,7 @@
|
||||||
#define LUA_USE_MODULES_OW
|
#define LUA_USE_MODULES_OW
|
||||||
#define LUA_USE_MODULES_BIT
|
#define LUA_USE_MODULES_BIT
|
||||||
#define LUA_USE_MODULES_MQTT
|
#define LUA_USE_MODULES_MQTT
|
||||||
// #define LUA_USE_MODULES_COAP // need about 4k more ram for now
|
#define LUA_USE_MODULES_COAP // need about 4k more ram for now
|
||||||
#define LUA_USE_MODULES_U8G
|
#define LUA_USE_MODULES_U8G
|
||||||
#define LUA_USE_MODULES_WS2812
|
#define LUA_USE_MODULES_WS2812
|
||||||
#endif /* LUA_USE_MODULES */
|
#endif /* LUA_USE_MODULES */
|
||||||
|
|
|
@ -336,7 +336,7 @@ const LUA_REG_TYPE math_map[] = {
|
||||||
{LSTRKEY("floor"), LFUNCVAL(math_floor)},
|
{LSTRKEY("floor"), LFUNCVAL(math_floor)},
|
||||||
// {LSTRKEY("fmod"), LFUNCVAL(math_fmod)},
|
// {LSTRKEY("fmod"), LFUNCVAL(math_fmod)},
|
||||||
#if LUA_OPTIMIZE_MEMORY > 0 && defined(LUA_COMPAT_MOD)
|
#if LUA_OPTIMIZE_MEMORY > 0 && defined(LUA_COMPAT_MOD)
|
||||||
{LSTRKEY("mod"), LFUNCVAL(math_fmod)},
|
// {LSTRKEY("mod"), LFUNCVAL(math_fmod)},
|
||||||
#endif
|
#endif
|
||||||
// {LSTRKEY("frexp"), LFUNCVAL(math_frexp)},
|
// {LSTRKEY("frexp"), LFUNCVAL(math_frexp)},
|
||||||
// {LSTRKEY("ldexp"), LFUNCVAL(math_ldexp)},
|
// {LSTRKEY("ldexp"), LFUNCVAL(math_ldexp)},
|
||||||
|
|
Loading…
Reference in New Issue