DC48800M043实体屏测试 on_uart_recv_data(packet)接收到数据包传参到解析函数会丢掉第一个数据啥情况 大佬指导下
function on_uart_recv_data(packet)
local buffer={}
local recv_count=0
local recv_packet_size = (#(packet))
for i=0,recv_packet_size
do
buffer[recv_count]=packet[i]
recv_count=recv_count+1
end
my_uart_recv(buffer)
buffer={}
recv_count=0
end