mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-30 07:21:20 +00:00
include stdio only if printf used
This commit is contained in:
parent
8aee7659ad
commit
650b64aa21
@ -43,10 +43,13 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef OCTAVE_OUTPUT
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#include "btstack_cvsd_plc.h"
|
||||
#include "btstack_debug.h"
|
||||
|
||||
|
@ -43,10 +43,13 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef OCTAVE_OUTPUT
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#include "btstack_sbc_plc.h"
|
||||
#include "btstack_debug.h"
|
||||
|
||||
|
@ -42,6 +42,10 @@
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef ENABLE_OBEX_DUMP
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#include "hci_cmd.h"
|
||||
#include "btstack_debug.h"
|
||||
#include "hci.h"
|
||||
@ -155,6 +159,7 @@ const uint8_t * obex_iterator_get_data(const obex_iterator_t * context){
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef ENABLE_OBEX_DUMP
|
||||
void obex_dump_packet(uint8_t request_opcode, uint8_t * packet, uint16_t size){
|
||||
obex_iterator_t it;
|
||||
printf("OBEX Opcode: 0x%02x\n", request_opcode);
|
||||
@ -185,3 +190,4 @@ void obex_dump_packet(uint8_t request_opcode, uint8_t * packet, uint16_t size){
|
||||
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user