diff options
author | Fabio Utzig <utzig@utzig.org> | 2016-05-25 19:04:42 -0300 |
---|---|---|
committer | Fabio Utzig <utzig@utzig.org> | 2016-05-25 19:04:42 -0300 |
commit | 209c3566776302eddb7819ff6c6dcfc645edff90 (patch) | |
tree | db243ceded7504b40fc8645513c48d8270b13c3f /os/hal/ports/KINETIS/LLD/hal_i2c_lld.h | |
parent | e1311c4db6cd366cf760673f769e925741ac0ad3 (diff) | |
parent | 3cde591bd28011e76cbeb56996dec8a9d151b9b6 (diff) | |
download | ChibiOS-Contrib-209c3566776302eddb7819ff6c6dcfc645edff90.tar.gz ChibiOS-Contrib-209c3566776302eddb7819ff6c6dcfc645edff90.tar.bz2 ChibiOS-Contrib-209c3566776302eddb7819ff6c6dcfc645edff90.zip |
Merge pull request #78 from flabbergast/kinetis
[KINETIS] Fixes for kernel-less builds.
Diffstat (limited to 'os/hal/ports/KINETIS/LLD/hal_i2c_lld.h')
-rw-r--r-- | os/hal/ports/KINETIS/LLD/hal_i2c_lld.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/os/hal/ports/KINETIS/LLD/hal_i2c_lld.h b/os/hal/ports/KINETIS/LLD/hal_i2c_lld.h index 3576b60..bfc5008 100644 --- a/os/hal/ports/KINETIS/LLD/hal_i2c_lld.h +++ b/os/hal/ports/KINETIS/LLD/hal_i2c_lld.h @@ -157,14 +157,10 @@ struct I2CDriver { */
i2cflags_t errors;
#if I2C_USE_MUTUAL_EXCLUSION || defined(__DOXYGEN__)
-#if CH_CFG_USE_MUTEXES || defined(__DOXYGEN__)
/**
* @brief Mutex protecting the bus.
*/
mutex_t mutex;
-#elif CH_CFG_USE_SEMAPHORES
- semaphore_t semaphore;
-#endif
#endif /* I2C_USE_MUTUAL_EXCLUSION */
#if defined(I2C_DRIVER_EXT_FIELDS)
I2C_DRIVER_EXT_FIELDS
|