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

Commit 6488527a authored by Chris Manton's avatar Chris Manton
Browse files

Set gd_controller_enable as constant => true

Bug: 197513926
Tag: #refactor
Test: gd/cert/run

Change-Id: I993973c31d9bc71a457b5e0c193e5f2795a7013f
parent 8caf79c1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3,7 +3,9 @@ use paste::paste;
use std::sync::Mutex;

/// Deprecated immutable flag
/// NONE at this time
pub fn gd_controller_is_enabled() -> bool {
    true
}

macro_rules! init_flags {
    (flags: { $($flag:ident),* }, dependencies: { $($parent:ident => $child:ident),* }) => {
@@ -83,7 +85,6 @@ init_flags!(
        gd_security,
        gd_acl,
        gd_l2cap,
        gd_controller,
        gatt_robust_caching,
        btaa_hci,
        gd_rust,
@@ -95,7 +96,6 @@ init_flags!(
        gd_l2cap => gd_scanning,
        gd_scanning => gd_advertising,
        gd_advertising => gd_acl,
        gd_acl => gd_controller,
        gd_link_policy => gd_acl
    }
);