Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f188974 authored by Ying Hsu's avatar Ying Hsu Committed by Ying Hsu
Browse files

Floss: fixing enum BtDeviceType

enum BtDeviceType definition shall be aligned to enum bt_device_type_t
defined in bluetooth.h.

Bug: 231248387
Tag: #floss
Test: Run btclient "device info" command on classic, BLE, and dual mode devices
Change-Id: I23dfb49105081c7f4cfb58555b4aed5f32e306f7
parent 0ea847df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ impl From<bindings::bt_acl_state_t> for BtAclState {
#[derive(Clone, Debug, FromPrimitive, ToPrimitive, PartialEq, PartialOrd)]
#[repr(u32)]
pub enum BtDeviceType {
    Bredr,
    Bredr = 0x1,
    Ble,
    Dual,
    Unknown,