diff --git a/nrf5/sdk/ble_drv.c b/nrf5/sdk/ble_drv.c index 59155ea823..13eca28569 100644 --- a/nrf5/sdk/ble_drv.c +++ b/nrf5/sdk/ble_drv.c @@ -686,10 +686,12 @@ static void ble_evt_handler(ble_evt_t * p_ble_evt) { (void)sd_ble_gatts_sys_attr_set(p_ble_evt->evt.gatts_evt.conn_handle, NULL, 0, 0); break; +#if (BLUETOOTH_SD == 132) case BLE_GATTS_EVT_EXCHANGE_MTU_REQUEST: BLE_DRIVER_LOG("GATTS EVT EXCHANGE MTU REQUEST\n"); (void)sd_ble_gatts_exchange_mtu_reply(p_ble_evt->evt.gatts_evt.conn_handle, 23); // MAX MTU size break; +#endif case BLE_EVT_TX_COMPLETE: BLE_DRIVER_LOG("BLE EVT TX COMPLETE\n");