From 9ef9c132a4aa2c777e51e7107055544706bfe894 Mon Sep 17 00:00:00 2001 From: payton Date: Thu, 11 Jan 2024 20:57:17 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=86=99mcu=E6=97=B6=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=BC=93=E5=AD=98=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source/sf_app/code/source/systemMng/sf_commu_mcu_reg.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/application/source/sf_app/code/source/systemMng/sf_commu_mcu_reg.c b/code/application/source/sf_app/code/source/systemMng/sf_commu_mcu_reg.c index 1a0dd93f1..758894718 100755 --- a/code/application/source/sf_app/code/source/systemMng/sf_commu_mcu_reg.c +++ b/code/application/source/sf_app/code/source/systemMng/sf_commu_mcu_reg.c @@ -101,6 +101,10 @@ UINT8 sf_mcu_write_multi(UINT8 reg[], UINT8 data[], UINT32 num) { printf("W_addr[%d]=0x%02x\n", reg[i], data[i]); } + printf("\n"); + fflush(NULL); + system("sync"); + sf_sleep_ms(100); if(0 <= sf_commu_set_mcu_many(reg, data, &pnum)) { // for(i = 0; i < num; i++)