mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-10 06:40:23 +00:00
bzero -> memset
This commit is contained in:
parent
3e2b91f16f
commit
71c6f8bde2
@ -48,7 +48,7 @@
|
||||
|
||||
- (BTDevice *)init {
|
||||
name = NULL;
|
||||
bzero(&_address, 6);
|
||||
memset(&_address, 0, 6);
|
||||
classOfDevice = kCODInvalid;
|
||||
connectionState = kBluetoothConnectionNotConnected;
|
||||
return self;
|
||||
|
Loading…
x
Reference in New Issue
Block a user