espressif / esp-iot-bridge

A smart bridge to make both ESP and the other MCU or smart device can access the Internet.
Apache License 2.0
140 stars 49 forks source link

Update app_main.c (AEGHB-333) #51

Closed rinstrum-franz closed 9 months ago

rinstrum-franz commented 9 months ago

if you not add this, you get following Error:

/home/franz/git/rin/rinGate/rinGate/main/app_main.c: In function 'app_main': /home/franz/git/rin/rinGate/rinGate/main/app_main.c:129:5: error: implicit declaration of function 'esp_wifi_connect' [-Werror=implicit-function-declaration]
  129 |     esp_wifi_connect();
      |     ^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors