mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-13 15:41:17 +00:00
test for HAVE_BZERO
This commit is contained in:
parent
06dbc35879
commit
26fe77d15a
@ -41,6 +41,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "../config.h"
|
||||
|
||||
#if defined __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@ -112,7 +114,7 @@ uint8_t crc8_calc(uint8_t *data, uint16_t len);
|
||||
#define BD_ADDR_CMP(a,b) memcmp(a,b, BD_ADDR_LEN)
|
||||
#define BD_ADDR_COPY(dest,src) memcpy(dest,src,BD_ADDR_LEN)
|
||||
|
||||
#ifdef EMBEDDED
|
||||
#ifndef HAVE_BZERO
|
||||
void bzero(void *s, uint32_t n);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user