make fix broader

This commit is contained in:
bunnie 2026-03-26 02:55:59 +08:00
parent 6427979446
commit df0fd57965
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ use ux_api::minigfx::FrameBuffer;
pub use crate::platform::atsama5d27::load::InitialProcess;
use crate::*;
// define an uninhabited stub type for boards without framebuffers
#[cfg(any(feature = "board-dabao"))]
#[cfg(not(any(feature = "board-baosec", feature = "board-baosor")))]
pub trait FrameBuffer {}
#[repr(C)]

View file

@ -7,7 +7,7 @@ use xous::arch::{SWAP_CFG_VADDR, SWAP_COUNT_VADDR, SWAP_PT_VADDR};
use crate::swap::*;
use crate::{env::EnvVariables, *};
// define an uninhabited stub type for boards without framebuffers
#[cfg(any(feature = "board-dabao"))]
#[cfg(not(any(feature = "board-baosec", feature = "board-baosor")))]
pub trait FrameBuffer {}
/// Phase 2 bootloader