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…
Reference in New Issue