mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
lighten up the mesh debug
actually there's no reason i think to have it print all four checks - just have it print on two of them, just in case for some reason the prints could be used to time a glitch.
This commit is contained in:
parent
2c80de4933
commit
e5790d76a3
1 changed files with 2 additions and 4 deletions
|
|
@ -273,10 +273,10 @@ pub fn mesh_check_and_react(csprng: &mut Csprng, one_way: &OneWayCounter) {
|
|||
Some(false) => {
|
||||
bollard!(die, 4);
|
||||
if paranoid1 == 0 {
|
||||
crate::println_d!("mesh");
|
||||
unsafe {
|
||||
one_way.inc(bao1x_api::POSSIBLE_ATTACKS).unwrap();
|
||||
}
|
||||
crate::println_d!("mesh");
|
||||
} else {
|
||||
die();
|
||||
}
|
||||
|
|
@ -284,10 +284,10 @@ pub fn mesh_check_and_react(csprng: &mut Csprng, one_way: &OneWayCounter) {
|
|||
csprng.random_delay();
|
||||
bollard!(die, 4);
|
||||
if paranoid2 == 0 {
|
||||
crate::println_d!("mesh");
|
||||
unsafe {
|
||||
one_way.inc(bao1x_api::POSSIBLE_ATTACKS).unwrap();
|
||||
}
|
||||
crate::println_d!("mesh");
|
||||
} else {
|
||||
die();
|
||||
}
|
||||
|
|
@ -299,7 +299,6 @@ pub fn mesh_check_and_react(csprng: &mut Csprng, one_way: &OneWayCounter) {
|
|||
if failures != 0 {
|
||||
bollard!(die, 4);
|
||||
if paranoid1 == 0 {
|
||||
crate::println_d!("mesh");
|
||||
unsafe {
|
||||
one_way.inc(bao1x_api::POSSIBLE_ATTACKS).unwrap();
|
||||
}
|
||||
|
|
@ -313,7 +312,6 @@ pub fn mesh_check_and_react(csprng: &mut Csprng, one_way: &OneWayCounter) {
|
|||
csprng.random_delay();
|
||||
bollard!(die, 4);
|
||||
if paranoid2 == 0 {
|
||||
crate::println_d!("mesh");
|
||||
unsafe {
|
||||
one_way.inc(bao1x_api::POSSIBLE_ATTACKS).unwrap();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue