mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-24 01:47:22 +00:00
minor fixes
- ble_ll needs to include hal_system.h for hal_debugger_connected() - ble_ll_sync needs stdlib.h for abs() - ble_ll_init() can be static/private
This commit is contained in:
committed by
Andrzej Kaczmarek
parent
2a7135469e
commit
749f13bf9c
@@ -476,9 +476,6 @@ struct ble_ll_acad_channel_map_update_ind {
|
||||
} __attribute__((packed));
|
||||
|
||||
/*--- External API ---*/
|
||||
/* Initialize the Link Layer */
|
||||
void ble_ll_init(void);
|
||||
|
||||
/* Reset the Link Layer */
|
||||
int ble_ll_reset(void);
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
#include "ble_ll_conn_priv.h"
|
||||
#include "ble_ll_hci_priv.h"
|
||||
#include "ble_ll_priv.h"
|
||||
#include "hal/hal_system.h"
|
||||
|
||||
#if MYNEWT_VAL(BLE_LL_DTM)
|
||||
#include "ble_ll_dtm_priv.h"
|
||||
@@ -1788,7 +1789,7 @@ ble_ll_assert(const char *file, unsigned line)
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
void
|
||||
static void
|
||||
ble_ll_init(void)
|
||||
{
|
||||
int rc;
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "syscfg/syscfg.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user