mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
return correct number of variables
This commit is contained in:
parent
483dbebe24
commit
d1758aee1b
@ -56,7 +56,7 @@ static int ICACHE_FLASH_ATTR tsl2561_lua_getchannels(lua_State* L) {
|
||||
lua_pushnumber( L, ch1 );
|
||||
lua_pushnumber( L, error );
|
||||
|
||||
return 1;
|
||||
return 3;
|
||||
}
|
||||
|
||||
#define MIN_OPT_LEVEL 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user