Skip to content

Commit eecbcd5

Browse files
authored
Fix compile
1 parent 8250c04 commit eecbcd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/PPP/src/ppp.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if CONFIG_LWIP_PPP_SUPPORT
12
#include "esp_modem_api.h"
23

34
esp_err_t _esp_modem_at(esp_modem_dce_t *dce_wrap, const char *at, char *p_out, int timeout){
@@ -23,3 +24,4 @@ esp_err_t _esp_modem_set_operator(esp_modem_dce_t *dce_wrap, int mode, int forma
2324
esp_err_t _esp_modem_set_network_bands(esp_modem_dce_t *dce_wrap, const char *mode, const int *bands, int size){
2425
return esp_modem_set_network_bands(dce_wrap, mode, bands, size);
2526
}
27+
#endif // CONFIG_LWIP_PPP_SUPPORT

0 commit comments

Comments
 (0)