Commit a4c0d718 authored by zelll's avatar zelll Committed by devsaurus
Browse files

fix spaces

parent 34e486fb
...@@ -113,7 +113,9 @@ static int node_i2s_start( lua_State *L ) ...@@ -113,7 +113,9 @@ static int node_i2s_start( lua_State *L )
lua_settop(L, 3); lua_settop(L, 3);
i2s_status[i2s_id].event_cb = luaL_ref(L, LUA_REGISTRYINDEX); i2s_status[i2s_id].event_cb = luaL_ref(L, LUA_REGISTRYINDEX);
i2s_driver_install(i2s_id, &i2s_config, i2s_config.dma_buf_count, &i2s_status[i2s_id].event_queue); esp_err_t err = i2s_driver_install(i2s_id, &i2s_config, i2s_config.dma_buf_count, &i2s_status[i2s_id].event_queue);
if(err != ESP_OK)
luaL_error( L, "i2s can not start" );
i2s_set_pin(i2s_id, &pin_config); i2s_set_pin(i2s_id, &pin_config);
char pcName[5]; char pcName[5];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment