Skip to content

Commit 764e503

Browse files
Update WiFiGeneric.cpp
Added missing "*"
1 parent c859fdb commit 764e503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFi/src/WiFiGeneric.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ bool WiFiGenericClass::setDualAntennaConfig(uint8_t gpio_ant1, uint8_t gpio_ant2
14181418
* @return A string representation of the event id.
14191419
* @note: arduino_event_id_t values as of Mar 2023 (arduino-esp32 r2.0.7) are: 0-39 (ARDUINO_EVENT_MAX=40) and are defined in WiFiGeneric.h.
14201420
*/
1421-
const char WiFiGenericClass::ArduinoEventIdToCStr(arduino_event_id_t id) {
1421+
const char * WiFiGenericClass::ArduinoEventIdToCStr(arduino_event_id_t id) {
14221422
switch(id) {
14231423
case ARDUINO_EVENT_WIFI_READY: return "WIFI_READY";
14241424
case ARDUINO_EVENT_WIFI_SCAN_DONE: return "SCAN_DONE";

0 commit comments

Comments
 (0)