mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
board: nucleo-l432kc: Add missing i2c_master_s definition
i2c_master_s definition of each i2c device is necessary but it's missing on past commit. so correct it.
This commit is contained in:
committed by
Xiang Xiao
parent
aed24f1255
commit
830ec0c371
@@ -123,8 +123,11 @@ int board_app_initialize(uintptr_t arg)
|
||||
#ifdef HAVE_RTC_DRIVER
|
||||
FAR struct rtc_lowerhalf_s *rtclower;
|
||||
#endif
|
||||
#ifdef HAVE_I2C_DRIVER
|
||||
FAR struct i2c_master_s *i2c;
|
||||
#ifdef CONFIG_STM32L4_I2C1
|
||||
FAR struct i2c_master_s *i2c1;
|
||||
#endif
|
||||
#ifdef CONFIG_STM32L4_I2C3
|
||||
FAR struct i2c_master_s *i2c3;
|
||||
#endif
|
||||
#ifdef CONFIG_SENSORS_QENCODER
|
||||
int index;
|
||||
|
||||
Reference in New Issue
Block a user