diff options
Diffstat (limited to 'src/glutt-o-logique')
-rw-r--r-- | src/glutt-o-logique/audio_in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glutt-o-logique/audio_in.c b/src/glutt-o-logique/audio_in.c index 19c54d3..fa3b8bb 100644 --- a/src/glutt-o-logique/audio_in.c +++ b/src/glutt-o-logique/audio_in.c @@ -63,7 +63,7 @@ void ADC_IRQHandler() ADC_ClearITPendingBit(ADC2, ADC_IT_EOC); - tone_detect_push_sample_from_irq(value); + tone_detect_push_sample(value, 1); } else if (ADC_GetFlagStatus(ADC2, ADC_FLAG_STRT) == SET) { // This sometimes happens... |