fuck (#4245)
This commit is contained in:
parent
8c3baa4b74
commit
253b779c26
|
@ -22,8 +22,6 @@ static volatile size_t sampleCount = 0;
|
||||||
chibios_rt::BinarySemaphore knockSem(/* taken =*/ true);
|
chibios_rt::BinarySemaphore knockSem(/* taken =*/ true);
|
||||||
|
|
||||||
static void completionCallback(ADCDriver* adcp) {
|
static void completionCallback(ADCDriver* adcp) {
|
||||||
palClearPad(GPIOD, 2);
|
|
||||||
|
|
||||||
if (adcp->state == ADC_COMPLETE) {
|
if (adcp->state == ADC_COMPLETE) {
|
||||||
knockNeedsProcess = true;
|
knockNeedsProcess = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue