mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
enable susres API in bao1x
this will require a version bump in production
This commit is contained in:
parent
8dc1e9c837
commit
6a77a301fb
2 changed files with 2 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ utralib = { version = "0.1.26", optional = true, default-features = false }
|
|||
precursor = ["utralib/precursor"]
|
||||
hosted = ["utralib/hosted"]
|
||||
renode = ["utralib/renode"]
|
||||
bao1x = ["utralib/bao1x"]
|
||||
sus_reboot = [
|
||||
] # when selected, suspend triggers an immediate reboot instead of suspend. For testing only.
|
||||
debugprint = []
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ pub struct Susres {
|
|||
suspend_cb_sid: Option<xous::SID>,
|
||||
}
|
||||
impl Susres {
|
||||
#[cfg(any(feature = "precursor", feature = "renode"))]
|
||||
#[cfg(any(feature = "precursor", feature = "renode", feature = "bao1x"))]
|
||||
/// When created, the `susres` object can be configured with a `SuspendOrder` to enforce
|
||||
/// sequencing rules in shutdown. It also requires arguments to define a callback which is
|
||||
/// pinged when a suspend event arrives. The callback takes the form of a `CID, discriminant`
|
||||
|
|
|
|||
Loading…
Reference in a new issue