Skip to content

Commit

Permalink
MAX_BTP_CONTEXT needs to be public
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Apr 24, 2024
1 parent a1b8210 commit 3de5ecd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rs-matter/src/transport/network/btp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use crate::utils::ifmutex::IfMutex;
use crate::utils::select::Coalesce;
use crate::CommissioningData;

pub use context::BtpContext;
pub use context::{BtpContext, MAX_BTP_SESSIONS};
pub use gatt::*;

use self::context::SessionSendLock;
Expand Down
2 changes: 1 addition & 1 deletion rs-matter/src/transport/network/btp/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub const MAX_BTP_SESSIONS: usize = 2;

/// Represents an error that occurred while trying to lock a session for sending.
#[derive(Debug)]
pub struct LockError(());
pub(crate) struct LockError(());

/// An internal utility for representing a session which is locked for sending.
///
Expand Down

0 comments on commit 3de5ecd

Please sign in to comment.