mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 22:17:18 +00:00
arch/xtensa/esp32_rtc_lowerhalf.c: nitialize ret variable to avoid
warnings. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
5683e020e8
commit
0aa14f91da
1 changed files with 1 additions and 1 deletions
|
|
@ -538,7 +538,7 @@ struct rtc_lowerhalf_s *esp32_rtc_lowerhalf(void)
|
|||
|
||||
int esp32_rtc_driverinit(void)
|
||||
{
|
||||
int ret;
|
||||
int ret = ERROR;
|
||||
struct rtc_lowerhalf_s *lower;
|
||||
|
||||
/* Instantiate the ESP32 lower-half RTC driver */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue