mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-21 09:14:34 +00:00
work around a weird feature flag not behaving as we expect
This commit is contained in:
parent
8c7edaf107
commit
3004c4ab7f
1 changed files with 4 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ use cmds::*;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
log_server::init_wait().unwrap();
|
log_server::init_wait().unwrap();
|
||||||
log::set_max_level(log::LevelFilter::Info);
|
log::set_max_level(log::LevelFilter::Debug);
|
||||||
log::info!("my PID is {}", xous::process::id());
|
log::info!("my PID is {}", xous::process::id());
|
||||||
|
|
||||||
let tt = ticktimer::Ticktimer::new().unwrap();
|
let tt = ticktimer::Ticktimer::new().unwrap();
|
||||||
|
|
@ -102,11 +102,14 @@ fn main() {
|
||||||
tt.sleep_ms(500).ok();
|
tt.sleep_ms(500).ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// why is this feature not being de-activated when it is not selected???
|
||||||
|
/*
|
||||||
#[cfg(feature = "modal-testing")]
|
#[cfg(feature = "modal-testing")]
|
||||||
{
|
{
|
||||||
log::set_max_level(log::LevelFilter::Debug);
|
log::set_max_level(log::LevelFilter::Debug);
|
||||||
modals::tests::spawn_test();
|
modals::tests::spawn_test();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
#[cfg(not(feature = "hosted-baosec"))]
|
#[cfg(not(feature = "hosted-baosec"))]
|
||||||
{
|
{
|
||||||
use cramium_api::I2cApi;
|
use cramium_api::I2cApi;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue