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