|
|
@@ -402,7 +402,7 @@ int l_uart_handler(lua_State *L, void* ptr) {
|
|
|
if (msg->arg2 == 0) {
|
|
|
// LLOGD("uart%ld sent callback", uart_id);
|
|
|
if (uart_app_sents[uart_id]) {
|
|
|
- uart_app_sents[uart_id](uart_id, msg->arg2);
|
|
|
+ uart_app_sents[uart_id](uart_id, (void *)msg->arg2);
|
|
|
}
|
|
|
if (uart_cbs[uart_id].sent) {
|
|
|
lua_geti(L, LUA_REGISTRYINDEX, uart_cbs[uart_id].sent);
|