mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
boards/esp32c3: Remove "return ret" from bringup
This commit is contained in:
committed by
saramonteiro
parent
7edb39f880
commit
f9b322567c
@@ -157,7 +157,6 @@ int esp32c3_bringup(void)
|
||||
if (ret)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: Failed to initialize SPI Flash\n");
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -167,7 +166,6 @@ int esp32c3_bringup(void)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: Failed to initialize partition error=%d\n",
|
||||
ret);
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -176,7 +174,6 @@ int esp32c3_bringup(void)
|
||||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "Failed to initialize GPIO Driver: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -240,7 +237,6 @@ int esp32c3_bringup(void)
|
||||
{
|
||||
syslog(LOG_ERR, "Failed to initialize BMP180 "
|
||||
"Driver for I2C0: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -301,7 +297,6 @@ int esp32c3_bringup(void)
|
||||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "Failed to initialize RT timer: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -312,7 +307,6 @@ int esp32c3_bringup(void)
|
||||
if (ret)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: Failed to initialize Wi-Fi and BT coexist\n");
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -321,7 +315,6 @@ int esp32c3_bringup(void)
|
||||
if (ret)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: Failed to initialize BLE\n");
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -350,7 +343,6 @@ int esp32c3_bringup(void)
|
||||
if (ret)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: board_adc_init() failed: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
#endif /* CONFIG_ESP32C3_ADC */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user