Skip to content

Commit 40b2b84

Browse files
authored
LWIP_PPP: Fix compilation (#9484)
* Fix compile * add `#include "sdkconfig.h"`
1 parent 8250c04 commit 40b2b84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libraries/PPP/src/ppp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include "sdkconfig.h"
2+
#if CONFIG_LWIP_PPP_SUPPORT
13
#include "esp_modem_api.h"
24

35
esp_err_t _esp_modem_at(esp_modem_dce_t *dce_wrap, const char *at, char *p_out, int timeout){
@@ -23,3 +25,4 @@ esp_err_t _esp_modem_set_operator(esp_modem_dce_t *dce_wrap, int mode, int forma
2325
esp_err_t _esp_modem_set_network_bands(esp_modem_dce_t *dce_wrap, const char *mode, const int *bands, int size){
2426
return esp_modem_set_network_bands(dce_wrap, mode, bands, size);
2527
}
28+
#endif // CONFIG_LWIP_PPP_SUPPORT

0 commit comments

Comments
 (0)