From 4600e6fc46e0e13441cd87989eed8ad8d49786d4 Mon Sep 17 00:00:00 2001 From: tfateba Date: Tue, 1 Nov 2016 01:33:13 +0000 Subject: 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 --- os/hal/ports/AVR/hal_adc_lld.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal/ports') 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 -- cgit v1.2.3