mirror of
https://github.com/ttrftech/NanoVNA.git
synced 2025-12-06 03:31:59 +01:00
Set 20Hz timer clock for touch check (1000Hz before, not need do it so fast, adc interrupt cause little noise on measure)
This commit is contained in:
parent
cd745ca5eb
commit
4444e94e3d
2
ui.c
2
ui.c
|
|
@ -2261,7 +2261,7 @@ static const EXTConfig extcfg = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const GPTConfig gpt3cfg = {
|
static const GPTConfig gpt3cfg = {
|
||||||
1000, /* 1kHz timer clock.*/
|
20, /* 20Hz timer clock.*/
|
||||||
NULL, /* Timer callback.*/
|
NULL, /* Timer callback.*/
|
||||||
0x0020, /* CR2:MMS=02 to output TRGO */
|
0x0020, /* CR2:MMS=02 to output TRGO */
|
||||||
0
|
0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue