boards/esp32: Remove "return ret" from bringup function

During the lcd1602 tests on our internal CI we noticed that the
lcd1602 was failing because there is not a I2C display in the
emulated board on QEMU. It is better to remove the "return ret"
from the bringup because the user will see the error anyway.
This commit is contained in:
Alan C. Assis 2021-09-15 15:22:51 -03:00 committed by saramonteiro
parent 35824b449a
commit 7edb39f880
3 changed files with 0 additions and 34 deletions

View File

@ -174,7 +174,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize SD slot: %d\n", ret);
return ret;
}
#endif
@ -188,7 +187,6 @@ int esp32_bringup(void)
if (ret)
{
syslog(LOG_ERR, "ERROR: Failed to initialize SPI Flash\n");
return ret;
}
#endif
@ -198,7 +196,6 @@ int esp32_bringup(void)
{
syslog(LOG_ERR, "ERROR: Failed to initialize partition error=%d\n",
ret);
return ret;
}
#endif
@ -216,7 +213,6 @@ int esp32_bringup(void)
{
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
ret);
return ret;
}
#endif
@ -233,7 +229,6 @@ int esp32_bringup(void)
syslog(LOG_ERR,
"ERROR: Failed to initialize timer driver: %d\n",
ret);
return ret;
}
#endif
@ -244,7 +239,6 @@ int esp32_bringup(void)
syslog(LOG_ERR,
"ERROR: Failed to initialize timer driver: %d\n",
ret);
return ret;
}
#endif
@ -255,7 +249,6 @@ int esp32_bringup(void)
syslog(LOG_ERR,
"ERROR: Failed to initialize timer driver: %d\n",
ret);
return ret;
}
#endif
@ -266,7 +259,6 @@ int esp32_bringup(void)
syslog(LOG_ERR,
"ERROR: Failed to initialize timer driver: %d\n",
ret);
return ret;
}
#endif
@ -321,7 +313,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize GPIO Driver: %d\n", ret);
return ret;
}
#endif
@ -333,7 +324,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize I2C Driver for I2C0: %d\n", ret);
return ret;
}
#endif
@ -343,7 +333,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize I2C Driver for I2C1: %d\n", ret);
return ret;
}
#endif
@ -357,7 +346,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize BMP180 driver: %d\n", ret);
return ret;
}
#endif
@ -369,7 +357,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize HT16K33 driver: %d\n", ret);
return ret;
}
#endif

View File

@ -133,7 +133,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize SD slot: %d\n", ret);
return ret;
}
#endif
@ -147,7 +146,6 @@ int esp32_bringup(void)
if (ret)
{
syslog(LOG_ERR, "ERROR: Failed to initialize SPI Flash\n");
return ret;
}
#endif
@ -157,7 +155,6 @@ int esp32_bringup(void)
{
syslog(LOG_ERR, "ERROR: Failed to initialize partition error=%d\n",
ret);
return ret;
}
#endif
@ -175,7 +172,6 @@ int esp32_bringup(void)
{
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
ret);
return ret;
}
#endif
@ -192,7 +188,6 @@ int esp32_bringup(void)
syslog(LOG_ERR,
"ERROR: Failed to initialize timer driver: %d\n",
ret);
return ret;
}
#endif
@ -203,7 +198,6 @@ int esp32_bringup(void)
syslog(LOG_ERR,
"ERROR: Failed to initialize timer driver: %d\n",
ret);
return ret;
}
#endif
@ -214,7 +208,6 @@ int esp32_bringup(void)
syslog(LOG_ERR,
"ERROR: Failed to initialize timer driver: %d\n",
ret);
return ret;
}
#endif
@ -225,7 +218,6 @@ int esp32_bringup(void)
syslog(LOG_ERR,
"ERROR: Failed to initialize timer driver: %d\n",
ret);
return ret;
}
#endif

View File

@ -159,7 +159,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize PCF8574 LCD, error %d\n", ret);
return ret;
}
#endif
@ -168,7 +167,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize SD slot: %d\n", ret);
return ret;
}
#endif
@ -182,7 +180,6 @@ int esp32_bringup(void)
if (ret)
{
syslog(LOG_ERR, "ERROR: Failed to initialize SPI Flash\n");
return ret;
}
#endif
@ -192,7 +189,6 @@ int esp32_bringup(void)
{
syslog(LOG_ERR, "ERROR: Failed to initialize partition error=%d\n",
ret);
return ret;
}
#endif
@ -210,7 +206,6 @@ int esp32_bringup(void)
{
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
ret);
return ret;
}
#endif
@ -227,7 +222,6 @@ int esp32_bringup(void)
syslog(LOG_ERR,
"ERROR: Failed to initialize timer driver: %d\n",
ret);
return ret;
}
#endif
@ -238,7 +232,6 @@ int esp32_bringup(void)
syslog(LOG_ERR,
"ERROR: Failed to initialize timer driver: %d\n",
ret);
return ret;
}
#endif
@ -249,7 +242,6 @@ int esp32_bringup(void)
syslog(LOG_ERR,
"ERROR: Failed to initialize timer driver: %d\n",
ret);
return ret;
}
#endif
@ -260,7 +252,6 @@ int esp32_bringup(void)
syslog(LOG_ERR,
"ERROR: Failed to initialize timer driver: %d\n",
ret);
return ret;
}
#endif
@ -305,7 +296,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize GPIO Driver: %d\n", ret);
return ret;
}
#endif
@ -317,7 +307,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize I2C Driver for I2C0: %d\n", ret);
return ret;
}
#endif
@ -327,7 +316,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize I2C Driver for I2C1: %d\n", ret);
return ret;
}
#endif
@ -341,7 +329,6 @@ int esp32_bringup(void)
if (ret < 0)
{
syslog(LOG_ERR, "Failed to initialize BMP180 driver: %d\n", ret);
return ret;
}
#endif