mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 12:35:25 +00:00
fix typos
This commit is contained in:
parent
5a06394a6a
commit
6ae2f1946c
@ -175,7 +175,7 @@ static void put_name(bd_addr_t *bd_addr, device_name_t *device_name){
|
|||||||
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
|
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
|
||||||
NSString *remoteName = [NSString stringWithUTF8String:(char*)device_name];
|
NSString *remoteName = [NSString stringWithUTF8String:(char*)device_name];
|
||||||
if (!remoteName){
|
if (!remoteName){
|
||||||
remoteName2 = [NSString stringWithCString:(char*)packet encoding:NSISOLatin1StringEncoding];
|
remoteName = [NSString stringWithCString:(char*)device_name encoding:NSISOLatin1StringEncoding];
|
||||||
}
|
}
|
||||||
if (remoteName) {
|
if (remoteName) {
|
||||||
set_value(bd_addr, PREFS_REMOTE_NAME, remoteName);
|
set_value(bd_addr, PREFS_REMOTE_NAME, remoteName);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user