mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-13 21:47:53 +00:00
porting: Add missing include in linux example
main.c: In function ‘main’:
main.c:65:33: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration]
65 | ble_hci_sock_set_device(atoi(argv[1]));
| ^~~~
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <pthread.h>
|
||||
#include "nimble/nimble_npl.h"
|
||||
|
||||
Reference in New Issue
Block a user