1.当收到DataReady消息后打开log
This commit is contained in:
parent
7b0be70d03
commit
3542d28ca3
|
@ -53,6 +53,7 @@
|
|||
#include "AppControl/AppControl.h"
|
||||
|
||||
#include <sf_commu_mcu.h>
|
||||
#include "sys_fastboot.h"
|
||||
|
||||
#define SERIAL_DEVICE_PATH "/dev/ttyS2"
|
||||
|
||||
|
@ -726,6 +727,7 @@ unsigned char sf_commu_parse_mcu_data(unsigned char * src, unsigned int len)
|
|||
ret = sf_getRegFromMcu_depack(copyBuf, copyLen, ®[0], &val[0]);
|
||||
if (ret > 0)
|
||||
{
|
||||
fastboot_msg_en(ENABLE);
|
||||
printf("MCU send 0x05, reg_value[%d,%d]\n\n",reg[0], val[0]);
|
||||
sf_getRegFromMcu_ack(reg[0], val[0]);
|
||||
//SF_MESSAGE_BUF_S stMessageBuf = {0};
|
||||
|
|
Loading…
Reference in New Issue
Block a user