This commit is contained in:
Matthew Kennedy 2022-06-09 19:01:36 +01:00 committed by GitHub
parent 8c3baa4b74
commit 253b779c26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -22,8 +22,6 @@ static volatile size_t sampleCount = 0;
chibios_rt::BinarySemaphore knockSem(/* taken =*/ true);
static void completionCallback(ADCDriver* adcp) {
palClearPad(GPIOD, 2);
if (adcp->state == ADC_COMPLETE) {
knockNeedsProcess = true;