From 1a2092a2fdc78151645048e621a4545dc2c71f44 Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Fri, 13 Sep 2024 18:32:46 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8Ddefine=20LEANTEST=20?= =?utf8?q?=E6=97=B6=E7=9A=84=E7=BC=96=E8=AF=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/drivers/peripheral/utils/custom_utils_at_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/sdk/drivers/peripheral/utils/custom_utils_at_cmd.c b/code/sdk/drivers/peripheral/utils/custom_utils_at_cmd.c index ea3a2d198..a35d1ba0f 100644 --- a/code/sdk/drivers/peripheral/utils/custom_utils_at_cmd.c +++ b/code/sdk/drivers/peripheral/utils/custom_utils_at_cmd.c @@ -1244,7 +1244,7 @@ static uint32_t leantest(uint8_t *para, uint32_t paraLen, char *strCommonCmd) wstp_print("CUSTOM_UTILSTEST power_test ATCMD Set Parameter Failed argc %d\r\nPM_DSP_POWER_UP_AND_RUN=2 PM_DSP_POWER_OFF=3\r\n",argc); return ERRCODE_FAIL; } - +#ifdef LEANTEST uint8_t test1 = atol((char*)argv[0]); if (test1 == 1) { @@ -1253,7 +1253,7 @@ static uint32_t leantest(uint8_t *para, uint32_t paraLen, char *strCommonCmd) { sha3_256_tester(); } - +#endif return ERRCODE_SUCC; } static const at_cmd_table_t g_custom_utils_cmd[] = { -- 2.17.1