Set 20Hz timer clock for touch check (1000Hz before, not need do it so fast, adc interrupt cause little noise on measure)

pull/130/head
DiSlord 6 years ago
parent cd745ca5eb
commit 4444e94e3d

@ -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…
Cancel
Save

Powered by TurnKey Linux.