Skip to content

Commit 7916004

Browse files
committed
Removed unused static function
1 parent 4b1f7ee commit 7916004

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

libraries/WiFiProv/src/WiFiProv.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,6 @@ static void get_device_service_name(prov_scheme_t prov_scheme, char *service_nam
6666
#endif
6767
}
6868

69-
static esp_err_t custom_prov_data_handler(uint32_t session_id, const uint8_t *inbuf, ssize_t inlen, uint8_t **outbuf, ssize_t *outlen, void *priv_data){
70-
if (inbuf) {
71-
log_d("Received data: %.*s", inlen, (char *)inbuf);
72-
}
73-
*outbuf = NULL;
74-
*outlen = 0;
75-
return ESP_OK;
76-
}
77-
7869
void WiFiProvClass :: beginProvision(prov_scheme_t prov_scheme, scheme_handler_t scheme_handler, wifi_prov_security_t security, const char * pop, const char *service_name, const char *service_key, uint8_t * uuid)
7970
{
8071
bool provisioned = false;

0 commit comments

Comments
 (0)