fix spaces
This commit is contained in:
parent
34e486fb7f
commit
a4c0d7180e
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue