Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
a4c0d718
Commit
a4c0d718
authored
Apr 29, 2017
by
zelll
Committed by
devsaurus
Oct 13, 2018
Browse files
fix spaces
parent
34e486fb
Changes
1
Show whitespace changes
Inline
Side-by-side
components/modules/i2s.c
View file @
a4c0d718
...
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment