mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-11 03:47:01 +00:00
fix unused variables
This commit is contained in:
parent
288f84bdbd
commit
3f10c8597f
@ -551,7 +551,7 @@ static int rfcomm_send_uih_prepared(rfcomm_multiplexer_t *multiplexer, uint8_t d
|
||||
|
||||
uint16_t pos = 0;
|
||||
rfcomm_out_buffer[pos++] = address;
|
||||
rfcomm_out_buffer[pos++] = BT_RFCOMM_UIH;
|
||||
rfcomm_out_buffer[pos++] = control;
|
||||
rfcomm_out_buffer[pos++] = (len & 0x7f) << 1; // bits 0-6
|
||||
rfcomm_out_buffer[pos++] = len >> 7; // bits 7-14
|
||||
|
||||
|
@ -118,6 +118,7 @@ void printf_hexdump(const void *data, int size){
|
||||
}
|
||||
|
||||
void hexdump(const void *data, int size){
|
||||
#ifdef ENABLE_LOG_INFO
|
||||
char buffer[6*16+1];
|
||||
int i, j;
|
||||
|
||||
@ -142,6 +143,7 @@ void hexdump(const void *data, int size){
|
||||
buffer[j] = 0;
|
||||
log_info("%s", buffer);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void hexdumpf(const void *data, int size){
|
||||
|
Loading…
Reference in New Issue
Block a user