mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
add feedback on boardtype resetting
This commit is contained in:
parent
82a47602c2
commit
79eab7da5e
1 changed files with 1 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ pub fn early_init_hw() -> u32 {
|
|||
let board_type =
|
||||
one_way.get_decoded::<bao1x_api::BoardTypeCoding>().expect("Board type coding error");
|
||||
if board_type != bao1x_api::BoardTypeCoding::Baosec {
|
||||
crate::println!("Board type is not Baosec; resetting it and rebooting!");
|
||||
while one_way.get_decoded::<bao1x_api::BoardTypeCoding>().expect("owc coding error")
|
||||
!= bao1x_api::BoardTypeCoding::Baosec
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue