mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-23 11:43:24 +00:00
fix compile warnings
This commit is contained in:
parent
6508a68d38
commit
14d79bf628
@ -90,7 +90,7 @@
|
|||||||
// store
|
// store
|
||||||
if (result == 6){
|
if (result == 6){
|
||||||
for (i = 0; i < BD_ADDR_LEN; i++) {
|
for (i = 0; i < BD_ADDR_LEN; i++) {
|
||||||
(*address)[i] = (uint8_t) bd_addr_buffer[i];
|
address[i] = (uint8_t) bd_addr_buffer[i];
|
||||||
}
|
}
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
@ -103,7 +103,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (NSString *) addressString{
|
- (NSString *) addressString{
|
||||||
return [BTDevice stringForAddress:&_address];
|
return [BTDevice stringForAddress:_address];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BluetoothDeviceType) deviceType{
|
- (BluetoothDeviceType) deviceType{
|
||||||
@ -117,7 +117,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
- (NSString *) toString{
|
- (NSString *) toString{
|
||||||
return [NSString stringWithFormat:@"Device addr %@ name %@ COD %x", [BTDevice stringForAddress:&_address], name, classOfDevice];
|
return [NSString stringWithFormat:@"Device addr %@ name %@ COD %x", [BTDevice stringForAddress:_address], name, classOfDevice];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc {
|
- (void)dealloc {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user