From cc432b761c884a0bd8e9d83db0a4e26109fc08b1 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 08 十一月 2024 15:35:38 +0800 Subject: [PATCH] 安邦手环GPS删除部分无用数据和修改4G波特率9600出厂测试固件 --- keil/include/drivers/mk_adc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dualboots_Gai_youhua_anbang_tag/keil/customboot/include/drivers/mk_adc.c b/keil/include/drivers/mk_adc.c similarity index 98% rename from dualboots_Gai_youhua_anbang_tag/keil/customboot/include/drivers/mk_adc.c rename to keil/include/drivers/mk_adc.c index e6c3dbf..9763eb5 100644 --- a/dualboots_Gai_youhua_anbang_tag/keil/customboot/include/drivers/mk_adc.c +++ b/keil/include/drivers/mk_adc.c @@ -380,7 +380,7 @@ { // enable ADC struct ADC_CFG_T vs_adc_cfg; - vs_adc_cfg.mode = ADC_MODE_SINGLE; /* Selected single conversion mode */ + vs_adc_cfg.mode = ADC_MODE_CONTINUE; /* Selected single conversion mode */ vs_adc_cfg.clk_sel = ADC_CLK_HIGH; /* Selected 62.4M high speed clock */ vs_adc_cfg.vref_sel = ADC_SEL_VREF_INT; /* Using internal reference voltage (1.2V)*/ vs_adc_cfg.rate = 1000; /* ADC works at high frequency system clock, the maximum sampling rate is 2M */ -- Gitblit v1.9.3