mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Bug 917220 - Fix IS_HEADSET, r=echou
This commit is contained in:
parent
f7bf4d781e
commit
5487688aad
@ -47,7 +47,7 @@ BEGIN_BLUETOOTH_NAMESPACE
|
||||
|
||||
// Major device class = 0x4, Audio/Video
|
||||
// Minor device class = 0x1, Wearable Headset device
|
||||
#define IS_HEADSET(cod) ((GET_MAJOR_SERVICE_CLASS(cod) == 0x4) && \
|
||||
#define IS_HEADSET(cod) ((GET_MAJOR_DEVICE_CLASS(cod) == 0x4) && \
|
||||
(GET_MINOR_DEVICE_CLASS(cod) == 0x1))
|
||||
|
||||
class BluetoothProfileManagerBase;
|
||||
|
Loading…
Reference in New Issue
Block a user