fix spaces

This commit is contained in:
zelll 2017-04-29 23:06:58 +08:00 committed by devsaurus
parent 34e486fb7f
commit a4c0d7180e
1 changed files with 27 additions and 25 deletions

View File

@ -113,7 +113,9 @@ static int node_i2s_start( lua_State *L )
lua_settop(L, 3);
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);
char pcName[5];