aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F37x/ADC/main.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-23 08:21:00 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-23 08:21:00 +0000
commit4708aa978b7c368e8edd56978ad923208de82266 (patch)
tree51870157fb69ed3ae7aabb97845d56bdb5fee1f6 /testhal/STM32F37x/ADC/main.c
parentb1c1f94d4ae48d7420c6441cf9f1831dad27c784 (diff)
downloadChibiOS-4708aa978b7c368e8edd56978ad923208de82266.tar.gz
ChibiOS-4708aa978b7c368e8edd56978ad923208de82266.tar.bz2
ChibiOS-4708aa978b7c368e8edd56978ad923208de82266.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5493 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F37x/ADC/main.c')
-rw-r--r--testhal/STM32F37x/ADC/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testhal/STM32F37x/ADC/main.c b/testhal/STM32F37x/ADC/main.c
index 20e8ff8db..512583a33 100644
--- a/testhal/STM32F37x/ADC/main.c
+++ b/testhal/STM32F37x/ADC/main.c
@@ -149,6 +149,7 @@ int main(void) {
* measurement.
*/
adcStart(&ADCD1, NULL);
+ adcSTM32Calibrate(&ADCD1);
adcSTM32EnableTSVREFE();
adcSTM32EnableVBATE();