diff --git a/source/Core/BSP/Pinecilv2/ble_handlers.cpp b/source/Core/BSP/Pinecilv2/ble_handlers.cpp index 4fe47bfb..68e1dc7b 100644 --- a/source/Core/BSP/Pinecilv2/ble_handlers.cpp +++ b/source/Core/BSP/Pinecilv2/ble_handlers.cpp @@ -253,6 +253,9 @@ int ble_char_write_setting_value_callback(struct bt_conn *conn, const struct bt_ case SettingsOptions::OrientationMode: OLED::setRotation(getSettingValue(SettingsOptions::OrientationMode) & 1); break; + default: + BT_ASSERT(uuid_value == uuid_value); + break; } return len; }