Fixed typo in method name

This commit is contained in:
Till Klocke 2015-02-05 18:43:29 +01:00
parent 0950e48925
commit c30002b8df
1 changed files with 2 additions and 2 deletions

View File

@ -61,9 +61,9 @@ const LUA_REG_TYPE ws2812_map[] =
{ LNILKEY, LNILVAL}
};
LUALIB_API int ws2812( lua_State *L )
LUALIB_API int luaopen_ws2812( lua_State *L )
{
// Make sure that the GPIO system is initialized
// TODO: Make sure that the GPIO system is initialized
LREGISTER( L, "ws2812", ws2812_map );
return 1;
}