diff options
Diffstat (limited to 'os/hal/ports')
-rw-r--r-- | os/hal/ports/AVR/hal_adc_lld.h | 4 |
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
|