We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9913f15 commit 42979ffCopy full SHA for 42979ff
main/src/user/ota.c
@@ -198,7 +198,7 @@ void ota_exec(esp_spp_cb_param_t *param)
198
EventBits_t uxBits = xEventGroupGetBits(user_event_group);
199
if (data_length != 0 && !(uxBits & BT_OTA_LOCK_BIT)
200
#ifdef CONFIG_ENABLE_BLE_CONTROL_IF
201
- && (uxBits & BLE_GATTS_IDLE_BIT)
+ && (uxBits & BLE_GATTS_IDLE_BIT)
202
#endif
203
) {
204
if (!update_handle) {
@@ -261,7 +261,7 @@ void ota_exec(esp_spp_cb_param_t *param)
261
}
262
} else if ((uxBits & BT_OTA_LOCK_BIT)
263
264
- || !(uxBits & BLE_GATTS_IDLE_BIT)
+ || !(uxBits & BLE_GATTS_IDLE_BIT)
265
266
267
ota_send_response(RSP_IDX_FAIL);
0 commit comments