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:
DiSlord 2020-05-17 17:56:51 +03:00
parent cd745ca5eb
commit 4444e94e3d

2
ui.c
View file

@ -2261,7 +2261,7 @@ static const EXTConfig extcfg = {
};
static const GPTConfig gpt3cfg = {
1000, /* 1kHz timer clock.*/
20, /* 20Hz timer clock.*/
NULL, /* Timer callback.*/
0x0020, /* CR2:MMS=02 to output TRGO */
0