mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-18 19:21:54 +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];
|
||||
NSString *remoteName = [NSString stringWithUTF8String:(char*)device_name];
|
||||
if (!remoteName){
|
||||
remoteName2 = [NSString stringWithCString:(char*)packet encoding:NSISOLatin1StringEncoding];
|
||||
remoteName = [NSString stringWithCString:(char*)device_name encoding:NSISOLatin1StringEncoding];
|
||||
}
|
||||
if (remoteName) {
|
||||
set_value(bd_addr, PREFS_REMOTE_NAME, remoteName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user