diff options
| author | Keith Packard <keithp@keithp.com> | 2012-10-16 22:21:04 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-10-16 22:32:10 -0700 |
| commit | f34f0ac7f355149446374a4c82dbf004919bc2dd (patch) | |
| tree | 580f96d5391da876076cb08c49eaf644cc3dc486 /src/product | |
| parent | 14698c424f833dc6d2fb38f69f5f661804cf8303 (diff) | |
altos: Add telescience-pwm product
Split out special PWM-sampling telescience product
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/product')
| -rw-r--r-- | src/product/ao_telescience.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/product/ao_telescience.c b/src/product/ao_telescience.c index 2d594d7f..d448d318 100644 --- a/src/product/ao_telescience.c +++ b/src/product/ao_telescience.c @@ -16,7 +16,9 @@ */ #include "ao.h" +#if HAS_ICP3_COUNT #include "ao_pwmin.h" +#endif int main(void) @@ -35,7 +37,9 @@ main(void) ao_usb_init(); ao_adc_init(); ao_log_single_init(); +#if HAS_ICP3_COUNT ao_pwmin_init(); +#endif ao_start_scheduler(); return 0; } |
