mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add a define for the maximum CID
This commit is contained in:
parent
75295485a7
commit
06f7f6ff7f
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,8 @@ pub type MessageId = usize;
|
||||||
pub type PID = NonZeroU8;
|
pub type PID = NonZeroU8;
|
||||||
pub type Connection = usize;
|
pub type Connection = usize;
|
||||||
|
|
||||||
|
pub const MAX_CID: usize = 34;
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Ord, PartialOrd, Copy, Clone)]
|
#[derive(Debug, PartialEq, Eq, Ord, PartialOrd, Copy, Clone)]
|
||||||
pub struct MessageSender {
|
pub struct MessageSender {
|
||||||
data: usize,
|
data: usize,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue