aboutsummaryrefslogtreecommitdiffstats
path: root/src/glutt-o-logique
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-04-19 18:22:04 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-04-19 18:22:04 +0200
commitf8a64c9dd13d69deadff4c094d407a3bc68e221f (patch)
treed19c6bba452d5d3dfc51bb1d6f8aa16eea7431ce /src/glutt-o-logique
parentdaa4301da2981fadb6999c694754c16e5d82d781 (diff)
downloadglutte-o-matic-f8a64c9dd13d69deadff4c094d407a3bc68e221f.tar.gz
glutte-o-matic-f8a64c9dd13d69deadff4c094d407a3bc68e221f.tar.bz2
glutte-o-matic-f8a64c9dd13d69deadff4c094d407a3bc68e221f.zip
Fix simulator compilation
Diffstat (limited to 'src/glutt-o-logique')
-rw-r--r--src/glutt-o-logique/audio_in.c2
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...