mirror of
https://github.com/bluekitchen/btstack.git
synced 2024-12-29 09:26:08 +00:00
add missing c++ guard
This commit is contained in:
parent
560d2a7afb
commit
ea7d62f812
@ -40,6 +40,10 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* hal_audio.h
|
||||
*
|
||||
@ -121,4 +125,8 @@ void hal_audio_source_stop(void);
|
||||
*/
|
||||
void hal_audio_source_close(void);
|
||||
|
||||
#if defined __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -47,6 +47,10 @@
|
||||
#include <stdint.h>
|
||||
#include "btstack_uart.h"
|
||||
|
||||
#if defined __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef btstack_uart_t btstack_uart_block_t;
|
||||
|
||||
// existing block-only implementations
|
||||
@ -59,4 +63,8 @@ static inline const btstack_uart_block_t * btstack_uart_block_posix_instance(voi
|
||||
return (const btstack_uart_block_t *) btstack_uart_posix_instance();
|
||||
}
|
||||
|
||||
#if defined __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user