aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/AVR
diff options
context:
space:
mode:
authortfateba <tfateba@35acf78f-673a-0410-8e92-d51de3d6d3f4>2016-11-01 01:33:13 +0000
committertfateba <tfateba@35acf78f-673a-0410-8e92-d51de3d6d3f4>2016-11-01 01:33:13 +0000
commit4600e6fc46e0e13441cd87989eed8ad8d49786d4 (patch)
tree545a977893f4fe3fe1138533b32e29c0d9ca5d06 /os/hal/ports/AVR
parente5887dc4903cc2c81ccb9acf456aee36c10e0f90 (diff)
downloadChibiOS-4600e6fc46e0e13441cd87989eed8ad8d49786d4.tar.gz
ChibiOS-4600e6fc46e0e13441cd87989eed8ad8d49786d4.tar.bz2
ChibiOS-4600e6fc46e0e13441cd87989eed8ad8d49786d4.zip
Add test program for AVR ADC hal.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9895 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/AVR')
-rw-r--r--os/hal/ports/AVR/hal_adc_lld.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/AVR/hal_adc_lld.h b/os/hal/ports/AVR/hal_adc_lld.h
index 018b4a911..219fd9d0b 100644
--- a/os/hal/ports/AVR/hal_adc_lld.h
+++ b/os/hal/ports/AVR/hal_adc_lld.h
@@ -145,14 +145,14 @@ struct ADCDriver {
/**
* @brief Waiting thread.
*/
- Thread *thread;
+ thread_reference_t thread;
#endif /* ADC_USE_WAIT */
#if ADC_USE_MUTUAL_EXCLUSION || defined(__DOXYGEN__)
#if CH_CFG_USE_MUTEXES || defined(__DOXYGEN__)
/**
* @brief Mutex protecting the peripheral.
*/
- Mutex mutex;
+ mutex_t mutex;
#elif CH_CFG_USE_SEMAPHORES
Semaphore semaphore;
#endif