acassis commented on a change in pull request #5439:
URL: https://github.com/apache/incubator-nuttx/pull/5439#discussion_r801573989
##########
File path: boards/arm/stm32/nucleo-l152re/src/stm32_appinitialize.c
##########
@@ -80,6 +83,52 @@
int board_app_initialize(uintptr_t arg)
{
int ret;
+#ifdef CONFIG_STM32_I2C1
+ FAR struct i2c_master_s *g_i2c1;
+#endif
+#ifdef CONFIG_STM32_I2C2
+ FAR struct i2c_master_s *g_i2c2;
Review comment:
ditto
##########
File path: boards/arm/stm32/nucleo-l152re/src/stm32_appinitialize.c
##########
@@ -80,6 +83,52 @@
int board_app_initialize(uintptr_t arg)
{
int ret;
+#ifdef CONFIG_STM32_I2C1
+ FAR struct i2c_master_s *g_i2c1;
Review comment:
Variables starting with symbol '"g_*" means it is a global variable, I
think this is not the case here. Please fix it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]