Skip to content

Commit 35a6293

Browse files
committed
Fix build error
1 parent 49872bf commit 35a6293

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/PPP/src/PPP.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ typedef struct { void * arg; } PdpContext;
1212
static PPPClass * _esp_modem = NULL;
1313
static esp_event_handler_instance_t _ppp_ev_instance = NULL;
1414

15+
#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_VERBOSE
1516
static const char * _ppp_event_name(int32_t event_id){
1617
switch(event_id){
1718
case NETIF_PPP_ERRORNONE : return "No error.";
@@ -57,6 +58,7 @@ static const char * _ppp_terminal_error_name(esp_modem_terminal_error_t err){
5758
}
5859
return "UNKNOWN";
5960
}
61+
#endif
6062

6163
static void _ppp_event_cb(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data) {
6264
if (event_base == NETIF_PPP_STATUS){

0 commit comments

Comments
 (0)