diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/PPC-SPC563M-GCC/halconf.h | 2 | ||||
-rw-r--r-- | demos/PPC-SPC563M-GCC/main.c | 13 | ||||
-rw-r--r-- | demos/PPC-SPC563M-GCC/mcuconf.h | 12 |
3 files changed, 7 insertions, 20 deletions
diff --git a/demos/PPC-SPC563M-GCC/halconf.h b/demos/PPC-SPC563M-GCC/halconf.h index a9d890562..9bff08736 100644 --- a/demos/PPC-SPC563M-GCC/halconf.h +++ b/demos/PPC-SPC563M-GCC/halconf.h @@ -52,7 +52,7 @@ * @brief Enables the ADC subsystem.
*/
#if !defined(HAL_USE_ADC) || defined(__DOXYGEN__)
-#define HAL_USE_ADC TRUE
+#define HAL_USE_ADC FALSE
#endif
/**
diff --git a/demos/PPC-SPC563M-GCC/main.c b/demos/PPC-SPC563M-GCC/main.c index 83cf5fd46..4211daf0f 100644 --- a/demos/PPC-SPC563M-GCC/main.c +++ b/demos/PPC-SPC563M-GCC/main.c @@ -164,19 +164,6 @@ int main(void) { chThdRelease(shelltp); /* Recovers memory of the previous shell. */
shelltp = NULL; /* Triggers spawning of a new shell. */
}
-#if 0
- if (SIU.GPDI[GPIO_BUTTON1].B.PDI) {
- volatile msg_t result;
-#if 0
- MemoryStream report;
-
- msObjectInit(&report, report_buffer, sizeof(report_buffer), 0);
- result = TestThread(&report);
-#else
- result = TestThread(&SD1);
-#endif
- }
-#endif
chThdSleepMilliseconds(1000);
}
return 0;
diff --git a/demos/PPC-SPC563M-GCC/mcuconf.h b/demos/PPC-SPC563M-GCC/mcuconf.h index bca85fb65..1fce8ea96 100644 --- a/demos/PPC-SPC563M-GCC/mcuconf.h +++ b/demos/PPC-SPC563M-GCC/mcuconf.h @@ -45,12 +45,12 @@ /*
* ADC driver settings.
*/
-#define SPC5_ADC_USE_ADC0_Q0 TRUE
-#define SPC5_ADC_USE_ADC0_Q1 TRUE
-#define SPC5_ADC_USE_ADC0_Q2 TRUE
-#define SPC5_ADC_USE_ADC1_Q3 TRUE
-#define SPC5_ADC_USE_ADC1_Q4 TRUE
-#define SPC5_ADC_USE_ADC1_Q5 TRUE
+#define SPC5_ADC_USE_ADC0_Q0 FALSE
+#define SPC5_ADC_USE_ADC0_Q1 FALSE
+#define SPC5_ADC_USE_ADC0_Q2 FALSE
+#define SPC5_ADC_USE_ADC1_Q3 FALSE
+#define SPC5_ADC_USE_ADC1_Q4 FALSE
+#define SPC5_ADC_USE_ADC1_Q5 FALSE
#define SPC5_ADC_CR_CLK_PS ADC_CR_CLK_PS(5)
/*
|