From 71c41bbab630b0e74af7da62b0f277e9aa8cfeb5 Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Sat, 30 Mar 2024 23:12:27 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E6=94=B9cywee=E4=B8=ADacc=E9=A2=91?= =?utf8?q?=E7=8E=87=E4=B8=BA52Hz?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/drivers/peripheral/cywee/src/main_dml.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/sdk/drivers/peripheral/cywee/src/main_dml.c b/code/sdk/drivers/peripheral/cywee/src/main_dml.c index d3b01a5ea..af815f4b8 100644 --- a/code/sdk/drivers/peripheral/cywee/src/main_dml.c +++ b/code/sdk/drivers/peripheral/cywee/src/main_dml.c @@ -400,7 +400,7 @@ int cywee_main_dml(void) { scl.iData[4] = 2; //1 anytime 2 fifo scl.iData[6] = 5; //先設定5 scl.iData[7] = 5; - scl.iData[8] = 25; // for st sensor(52Hz) + scl.iData[8] = 52; // for st sensor(52Hz) CWM_SettingControl(SCL_DML_DRV_AG_CONFIG, &scl); //CWM_OS_dbgPrintf("[DBG] %s %d\n", __func__,__LINE__); @@ -431,10 +431,10 @@ int cywee_main_dml(void) { memset(&scl, 0, sizeof(scl)); scl.iData[0] = 1; - scl.iData[1] = 5; - scl.iData[2] = 5; - scl.iData[3] = 5; - scl.iData[4] = 5; + // scl.iData[1] = 5; + // scl.iData[2] = 5; + // scl.iData[3] = 5; + // scl.iData[4] = 5; CWM_SettingControl(SCL_HAND_UPDOWN_CONFIG, &scl); -- 2.17.1