mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: Reduce stack allocated buffer size to reduce warnings
about large frame size
This commit is contained in:
parent
b45970fded
commit
c3e11fd34d
|
@ -758,7 +758,7 @@
|
||||||
#if LUA_FLOAT_TYPE == LUA_FLOAT_LONGDOUBLE
|
#if LUA_FLOAT_TYPE == LUA_FLOAT_LONGDOUBLE
|
||||||
#define LUAL_BUFFERSIZE 8192
|
#define LUAL_BUFFERSIZE 8192
|
||||||
#else
|
#else
|
||||||
#define LUAL_BUFFERSIZE ((int)(0x80 * sizeof(void*) * sizeof(lua_Integer)))
|
#define LUAL_BUFFERSIZE ((int)(0x20 * sizeof(void*) * sizeof(lua_Integer)))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* }================================================================== */
|
/* }================================================================== */
|
||||||
|
|
Loading…
Reference in New Issue