mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
rename "testing" flag to gfx-testing so as to avoid namespace collision
This commit is contained in:
parent
1b70801861
commit
359da58cd2
2 changed files with 3 additions and 3 deletions
|
|
@ -31,6 +31,6 @@ hosted = ["utralib/hosted"]
|
||||||
renode = ["utralib/renode", "xous/renode"]
|
renode = ["utralib/renode", "xous/renode"]
|
||||||
debugprint = []
|
debugprint = []
|
||||||
braille = []
|
braille = []
|
||||||
testing = []
|
gfx-testing = []
|
||||||
ditherpunk = []
|
ditherpunk = []
|
||||||
default = []
|
default = []
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ use std::sync::Arc;
|
||||||
use crate::wordwrap::*;
|
use crate::wordwrap::*;
|
||||||
use core::ops::Add;
|
use core::ops::Add;
|
||||||
|
|
||||||
#[cfg(feature = "testing")]
|
#[cfg(feature = "gfx-testing")]
|
||||||
mod testing;
|
mod testing;
|
||||||
|
|
||||||
fn draw_boot_logo(display: &mut XousDisplay) {
|
fn draw_boot_logo(display: &mut XousDisplay) {
|
||||||
|
|
@ -154,7 +154,7 @@ fn wrapped_main() -> ! {
|
||||||
|
|
||||||
let ticktimer = ticktimer_server::Ticktimer::new().unwrap();
|
let ticktimer = ticktimer_server::Ticktimer::new().unwrap();
|
||||||
|
|
||||||
#[cfg(feature = "testing")]
|
#[cfg(feature = "gfx-testing")]
|
||||||
testing::tests();
|
testing::tests();
|
||||||
loop {
|
loop {
|
||||||
if !is_panic.load(Ordering::Relaxed) { // non-panic graphics operations if we are in a panic situation
|
if !is_panic.load(Ordering::Relaxed) { // non-panic graphics operations if we are in a panic situation
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue