aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32F30x
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-01-24 14:11:01 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-01-24 14:11:01 +0000
commit1b9ed43ffceb80d38a15556c69739d1be87c91af (patch)
tree3af4ef9c41b74016fde4ba0bfc25da0069556367 /os/hal/ports/STM32F30x
parentfeaff06e8b4516db9a40f0fdd9492d711522496b (diff)
downloadChibiOS-1b9ed43ffceb80d38a15556c69739d1be87c91af.tar.gz
ChibiOS-1b9ed43ffceb80d38a15556c69739d1be87c91af.tar.bz2
ChibiOS-1b9ed43ffceb80d38a15556c69739d1be87c91af.zip
Relocated OSALs under the HAL tree, adjusted all makefiles.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6641 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32F30x')
-rw-r--r--os/hal/ports/STM32F30x/adc_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32F30x/adc_lld.c b/os/hal/ports/STM32F30x/adc_lld.c
index 26fdcebf1..4be6b56a7 100644
--- a/os/hal/ports/STM32F30x/adc_lld.c
+++ b/os/hal/ports/STM32F30x/adc_lld.c
@@ -89,7 +89,7 @@ static void adc_lld_vreg_on(ADCDriver *adcp) {
#if STM32_ADC_DUAL_MODE
adcp->adcs->CR = ADC_CR_ADVREGEN_0;
#endif
- osalSysPolledDelayX(US2RTC(10));
+ osalSysPolledDelayX(US2RTC(STM32_HCLK, 10));
}
/**