aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-31 09:33:20 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-31 09:33:20 +0000
commit6a0fb115c3242e00e374488e57a95b1f098845b2 (patch)
treec0c8766632b603737e1c8091ae120425570deb31 /testhal
parent19f97afd4d34430062ba5667df170f97772462a0 (diff)
downloadChibiOS-6a0fb115c3242e00e374488e57a95b1f098845b2.tar.gz
ChibiOS-6a0fb115c3242e00e374488e57a95b1f098845b2.tar.bz2
ChibiOS-6a0fb115c3242e00e374488e57a95b1f098845b2.zip
First tests running and working.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5002 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32F3xx/ADC/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32F3xx/ADC/main.c b/testhal/STM32F3xx/ADC/main.c
index 4d4add7d6..4b7bcc7e1 100644
--- a/testhal/STM32F3xx/ADC/main.c
+++ b/testhal/STM32F3xx/ADC/main.c
@@ -21,7 +21,7 @@
#include "ch.h"
#include "hal.h"
-#define ADC_GRP1_NUM_CHANNELS 1
+#define ADC_GRP1_NUM_CHANNELS 2
#define ADC_GRP1_BUF_DEPTH 8
#define ADC_GRP2_NUM_CHANNELS 8
@@ -64,7 +64,7 @@ static const ADCConversionGroup adcgrpcfg1 = {
NULL,
adcerrorcallback,
0, /* CFGR */
- 0, /* TR1 */
+ ADC_TR(0, 4095), /* TR1 */
0, /* CCR */
{ /* SMPR[2] */
0,