Trivial changes from review of last PR
This commit is contained in:
parent
e1e1e0a8db
commit
df5a8d09eb
@ -210,6 +210,7 @@ void stm32_usbinitialize(void);
|
||||
*
|
||||
* Description:
|
||||
* Initialize I2C-based LSM6DSL.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SENSORS_LSM303AGR
|
||||
@ -221,6 +222,7 @@ int stm32_lsm6dsl_initialize(char *devpath);
|
||||
*
|
||||
* Description:
|
||||
* Initialize I2C-based LSM303AGR.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SENSORS_LSM6DSL
|
||||
|
@ -74,7 +74,6 @@
|
||||
|
||||
int stm32_pca9635_initialize(void)
|
||||
{
|
||||
|
||||
FAR struct i2c_master_s *i2c;
|
||||
int ret;
|
||||
|
||||
@ -83,7 +82,7 @@ int stm32_pca9635_initialize(void)
|
||||
i2c = stm32_i2cbus_initialize(PCA9635_I2CBUS);
|
||||
if (!i2c)
|
||||
{
|
||||
_err("ERROR: Failed to initialize I2C%d\n", PCA9635_I2CBUS);
|
||||
i2cerr("ERROR: Failed to initialize I2C%d\n", PCA9635_I2CBUS);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -91,7 +90,7 @@ int stm32_pca9635_initialize(void)
|
||||
if (ret < 0)
|
||||
{
|
||||
snerr("ERROR: Failed to register PCA9635 driver: %d\n", ret);
|
||||
return ret;
|
||||
return ret;
|
||||
}
|
||||
|
||||
return OK;
|
||||
|
@ -52,6 +52,7 @@
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_LCD_MAXPOWER
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* config/stm32f103-minimum/src/stm32_ssd1306.c
|
||||
* config/stm32f103-minimum/src/stm32_ssd1306.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
|
Loading…
Reference in New Issue
Block a user