Mercurial > hg > beaglert
comparison projects/audio_in_FFT/main.cpp @ 212:301dceb39ec8
audio_in_FFT now works. Issue was it was setting useAnalog = 0.
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 08 Feb 2016 23:25:18 +0000 |
parents | 3c3a1357657d |
children |
comparison
equal
deleted
inserted
replaced
211:ff14e145f635 | 212:301dceb39ec8 |
---|---|
44 }; | 44 }; |
45 | 45 |
46 // Set default settings | 46 // Set default settings |
47 BeagleRT_defaultSettings(&settings); | 47 BeagleRT_defaultSettings(&settings); |
48 | 48 |
49 settings.useAnalog = 0; // No matrix usage by default | 49 // settings.useAnalog = 0; // No matrix usage by default |
50 | 50 |
51 // Parse command-line arguments | 51 // Parse command-line arguments |
52 while (1) { | 52 while (1) { |
53 int c; | 53 int c; |
54 if ((c = BeagleRT_getopt_long(argc, argv, "hs:", customOptions, &settings)) < 0) | 54 if ((c = BeagleRT_getopt_long(argc, argv, "hs:", customOptions, &settings)) < 0) |