fix unused variables

This commit is contained in:
Matthias Ringwald 2015-05-07 22:39:21 +02:00
parent 288f84bdbd
commit 3f10c8597f
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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){