mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-23 18:39:52 +00:00
remove printf and unused std libraries
This commit is contained in:
parent
8f9132b582
commit
b11dea2d08
@ -37,7 +37,6 @@
|
|||||||
|
|
||||||
#define __BTSTACK_FILE__ "att_db_util.c"
|
#define __BTSTACK_FILE__ "att_db_util.c"
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "ble/att_db_util.h"
|
#include "ble/att_db_util.h"
|
||||||
@ -128,7 +127,6 @@ static void att_db_util_add_attribute_uuid16(uint16_t uuid16, uint16_t flags, ui
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void att_db_util_add_attribute_uuid128(const uint8_t * uuid128, uint16_t flags, uint8_t * data, uint16_t data_len){
|
static void att_db_util_add_attribute_uuid128(const uint8_t * uuid128, uint16_t flags, uint8_t * data, uint16_t data_len){
|
||||||
printf("add flags %04x\n", flags);
|
|
||||||
int size = 2 + 2 + 2 + 16 + data_len;
|
int size = 2 + 2 + 2 + 16 + data_len;
|
||||||
if (!att_db_util_assert_space(size)) return;
|
if (!att_db_util_assert_space(size)) return;
|
||||||
flags |= ATT_PROPERTY_UUID128;
|
flags |= ATT_PROPERTY_UUID128;
|
||||||
|
@ -43,8 +43,6 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user