aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32L1xx/adc_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-30 13:04:10 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-30 13:04:10 +0000
commit8c1fc9af2b96a9a3ccae3d8810c21bd7afae97ab (patch)
tree27ab79db6ed83a893b78ee8d878a0ff416cca7b8 /os/hal/ports/STM32L1xx/adc_lld.h
parent984148e9dbda3053aec71ea7da545bc75cd33e94 (diff)
downloadChibiOS-8c1fc9af2b96a9a3ccae3d8810c21bd7afae97ab.tar.gz
ChibiOS-8c1fc9af2b96a9a3ccae3d8810c21bd7afae97ab.tar.bz2
ChibiOS-8c1fc9af2b96a9a3ccae3d8810c21bd7afae97ab.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6337 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32L1xx/adc_lld.h')
-rw-r--r--os/hal/ports/STM32L1xx/adc_lld.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/os/hal/ports/STM32L1xx/adc_lld.h b/os/hal/ports/STM32L1xx/adc_lld.h
index 6d11ea93c..c7bb73612 100644
--- a/os/hal/ports/STM32L1xx/adc_lld.h
+++ b/os/hal/ports/STM32L1xx/adc_lld.h
@@ -343,17 +343,13 @@ struct ADCDriver {
/**
* @brief Waiting thread.
*/
- Thread *thread;
+ thread_reference_t thread;
#endif
#if ADC_USE_MUTUAL_EXCLUSION || defined(__DOXYGEN__)
-#if CH_USE_MUTEXES || defined(__DOXYGEN__)
/**
* @brief Mutex protecting the peripheral.
*/
- Mutex mutex;
-#elif CH_USE_SEMAPHORES
- Semaphore semaphore;
-#endif
+ mutex_t mutex;
#endif /* ADC_USE_MUTUAL_EXCLUSION */
#if defined(ADC_DRIVER_EXT_FIELDS)
ADC_DRIVER_EXT_FIELDS