arch/arm/src/stm32l4/stm32l4_1wire.c: fix build error, fix typo
This commit is contained in:
parent
e1138e35e0
commit
552ca28d22
@ -134,7 +134,7 @@ struct lc823450_i2c_priv_s
|
||||
|
||||
FAR const struct lc823450_i2c_config_s *config;
|
||||
|
||||
int refs; /* Referernce count */
|
||||
int refs; /* Reference count */
|
||||
sem_t sem_excl; /* Mutual exclusion semaphore */
|
||||
#ifndef CONFIG_I2C_POLLED
|
||||
sem_t sem_isr; /* Interrupt wait semaphore */
|
||||
|
@ -129,7 +129,7 @@ struct stm32_1wire_config_s
|
||||
struct stm32_1wire_priv_s
|
||||
{
|
||||
const struct stm32_1wire_config_s *config; /* Port configuration */
|
||||
volatile int refs; /* Referernce count */
|
||||
volatile int refs; /* Reference count */
|
||||
sem_t sem_excl; /* Mutual exclusion semaphore */
|
||||
sem_t sem_isr; /* Interrupt wait semaphore */
|
||||
int baud; /* Baud rate */
|
||||
|
@ -250,7 +250,7 @@ struct stm32_i2c_priv_s
|
||||
|
||||
const struct stm32_i2c_config_s *config;
|
||||
|
||||
int refs; /* Referernce count */
|
||||
int refs; /* Reference count */
|
||||
sem_t sem_excl; /* Mutual exclusion semaphore */
|
||||
#ifndef CONFIG_I2C_POLLED
|
||||
sem_t sem_isr; /* Interrupt wait semaphore */
|
||||
|
@ -278,7 +278,7 @@ struct stm32_i2c_priv_s
|
||||
|
||||
const struct stm32_i2c_config_s *config;
|
||||
|
||||
int refs; /* Referernce count */
|
||||
int refs; /* Reference count */
|
||||
sem_t sem_excl; /* Mutual exclusion semaphore */
|
||||
#ifndef CONFIG_I2C_POLLED
|
||||
sem_t sem_isr; /* Interrupt wait semaphore */
|
||||
|
@ -265,7 +265,7 @@ struct stm32_i2c_priv_s
|
||||
|
||||
const struct stm32_i2c_config_s *config;
|
||||
|
||||
int refs; /* Referernce count */
|
||||
int refs; /* Reference count */
|
||||
sem_t sem_excl; /* Mutual exclusion semaphore */
|
||||
#ifndef CONFIG_I2C_POLLED
|
||||
sem_t sem_isr; /* Interrupt wait semaphore */
|
||||
|
@ -384,7 +384,7 @@ struct stm32_i2c_priv_s
|
||||
|
||||
const struct stm32_i2c_config_s *config;
|
||||
|
||||
int refs; /* Referernce count */
|
||||
int refs; /* Reference count */
|
||||
sem_t sem_excl; /* Mutual exclusion semaphore */
|
||||
#ifndef CONFIG_I2C_POLLED
|
||||
sem_t sem_isr; /* Interrupt wait semaphore */
|
||||
|
@ -122,7 +122,7 @@ struct stm32_1wire_config_s
|
||||
struct stm32_1wire_priv_s
|
||||
{
|
||||
const struct stm32_1wire_config_s *config; /* Port configuration */
|
||||
volatile int refs; /* Referernce count */
|
||||
volatile int refs; /* Reference count */
|
||||
sem_t sem_excl; /* Mutual exclusion semaphore */
|
||||
sem_t sem_isr; /* Interrupt wait semaphore */
|
||||
int baud; /* Baud rate */
|
||||
@ -681,7 +681,7 @@ static inline void stm32_1wire_sem_destroy(
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int void stm32_1wire_sem_wait(FAR struct stm32_1wire_priv_s *priv)
|
||||
static inline int stm32_1wire_sem_wait(FAR struct stm32_1wire_priv_s *priv)
|
||||
{
|
||||
return nxsem_wait_uninterruptible(&priv->sem_excl);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user