mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-27 10:50:41 +00:00
!4485 Fix: Compilation Dependency of Adapter BLE in Mini System
Merge pull request !4485 from 朱思远/master
This commit is contained in:
commit
722608301c
@ -1157,7 +1157,7 @@ int32_t SoftBusDeregisterScanCallbacks(int32_t scannerId)
|
||||
return BleDeregisterScanCallbacks(scannerId);
|
||||
}
|
||||
|
||||
int32_t SoftBusSetScanReportChannelToLpDevice(int scannerId, bool enable)
|
||||
int32_t SoftBusSetScanReportChannelToLpDevice(int32_t scannerId, bool enable)
|
||||
{
|
||||
return SetScanReportChannelToLpDevice(scannerId, enable);
|
||||
}
|
||||
@ -1166,4 +1166,4 @@ int32_t SoftBusSetLpDeviceParam(int duration, int maxExtAdvEvents, int window,
|
||||
int interval, int advHandle)
|
||||
{
|
||||
return SetLpDeviceAdvParam(duration, maxExtAdvEvents, window, interval, advHandle);
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2021 Huawei Device Co., Ltd.
|
||||
# Copyright (c) 2021-2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
@ -28,3 +28,8 @@ adapter_ble_src = [
|
||||
]
|
||||
adapter_net_br_src = [ "$dsoftbus_root_path/adapter/common/net/bluetooth/common/softbus_adapter_bt_common.c" ]
|
||||
adapter_ble_external_deps = [ "bluetooth:btframework" ]
|
||||
if (defined(ohos_lite)) {
|
||||
if (ohos_kernel_type == "liteos_m") {
|
||||
adapter_ble_external_deps = []
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user