zephyr/tests/bluetooth/controller/mock_ctrl/src/lll_clock.c
Théo Battrel e458f5aae6 Bluetooth: Use Zephyr standard log system instead of bluetooth/common/log
The `bluetooth/common/log.h` and `bluetooth/common/log.c` files have been
removed. Files that were using them have been updated to use
`zephyr/logging/log.h` instead.

Those replacement have been done consequently:
- `/BT_DBG/LOG_DBG/`
- `/BT_ERR/LOG_ERR/`
- `/BT_WARN/LOG_WRN/`
- `/BT_INFO/LOG_INF/`
- `/BT_HEXDUMP_DBG/LOG_HEXDUMP_DBG/`
- `/BT_DBG_OBJ_ID/LOG_DBG_OBJ_ID/`

Also, some files were relying on the `common/log.h` include to include
`zephyr/bluetooth/hci.h`, in those cases the include of `hci.h` has
been added.

For files that were including `common/log.h` but not using any logs,
the include has been removed and not replaced.

Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
2022-11-25 17:08:36 +01:00

56 lines
695 B
C

/*
* Copyright (c) 2018-2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/types.h>
#include <soc.h>
#include "hal/debug.h"
/* Clock setup timeouts are unlikely, below values are experimental */
#define LFCLOCK_TIMEOUT_MS 500
#define HFCLOCK_TIMEOUT_MS 2
int lll_clock_init(void)
{
return 0;
}
int lll_clock_wait(void)
{
return 0;
}
int lll_hfclock_on(void)
{
return 0;
}
int lll_hfclock_on_wait(void)
{
return 0;
}
int lll_hfclock_off(void)
{
return 0;
}
uint8_t lll_clock_sca_local_get(void)
{
return 0;
}
uint32_t lll_clock_ppm_local_get(void)
{
return 0;
}
uint32_t lll_clock_ppm_get(uint8_t sca)
{
ARG_UNUSED(sca);
return 0;
}