mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-12 12:10:03 +00:00
nimble/transport: Add missing prototype for ble_monitor_out
This commit is contained in:
@@ -30,9 +30,16 @@ extern "C" {
|
||||
MYNEWT_VAL(BLE_MONITOR_UART))
|
||||
|
||||
#if BLE_MONITOR
|
||||
int ble_monitor_out(int c);
|
||||
int ble_monitor_log(int level, const char *fmt, ...);
|
||||
#else
|
||||
static inline int
|
||||
ble_monitor_out(int c)
|
||||
{
|
||||
(void)c;
|
||||
return 0;
|
||||
}
|
||||
static inline int
|
||||
ble_monitor_log(int level, const char *fmt, ...)
|
||||
{
|
||||
(void)level;
|
||||
|
||||
Reference in New Issue
Block a user