From 1b2d791a05954fd161376e3ddce0d44f74fcc6c0 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 10 Jan 2024 16:58:29 +1100 Subject: Use doubles instead of floats for lua numbers (this unpins the ui task) --- lib/esp-idf-lua/lua/luaconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/esp-idf-lua/lua/luaconf.h b/lib/esp-idf-lua/lua/luaconf.h index 9228b6b5..7b44cd9f 100644 --- a/lib/esp-idf-lua/lua/luaconf.h +++ b/lib/esp-idf-lua/lua/luaconf.h @@ -118,14 +118,14 @@ /* Default configuration ('long long' and 'double', for 64-bit Lua) */ -#define LUA_INT_DEFAULT LUA_INT_LONGLONG +#define LUA_INT_DEFAULT LUA_INT_LONG #define LUA_FLOAT_DEFAULT LUA_FLOAT_DOUBLE /* @@ LUA_32BITS enables Lua with 32-bit integers and 32-bit floats. */ -#define LUA_32BITS 1 +#define LUA_32BITS 0 /* -- cgit v1.2.3