Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
fix this error  -> error: enumeration value 'ESP_GATTS_SEND_SERVICE_CHANGE_EVT' not handled in switch [-Werror=switch]
  • Loading branch information
HotIce0 authored Dec 3, 2018
1 parent 625440c commit eac3ffb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/nkolban_BLE/BLEUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,9 @@ std::string BLEUtils::gattServerEventTypeToString(esp_gatts_cb_event_t eventType
case ESP_GATTS_REG_EVT:
return "ESP_GATTS_REG_EVT";

case ESP_GATTS_SEND_SERVICE_CHANGE_EVT:
return "ESP_GATTS_SEND_SERVICE_CHANGE_EVT";

case ESP_GATTS_READ_EVT:
return "ESP_GATTS_READ_EVT";

Expand Down

0 comments on commit eac3ffb

Please sign in to comment.