diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-10-03 20:28:44 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-03 20:28:44 +0000 |
| commit | b012a67df7b5c95cce0e09eb66e3952bbc021bcc (patch) | |
| tree | 174c2e09b60a07c6998647d0e2c45d6b7e93ad97 /tests | |
| parent | f197aa94193d3ed09811482c88d69da90624090a (diff) | |
| parent | 40f30fa4cd1d1273c1fe6c6520042d21e73a348e (diff) | |
Merge pull request #2007 from embassy-rs/unverbose
Remove a few ultra-verbose logs.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/stm32/src/bin/dac.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stm32/src/bin/dac.rs b/tests/stm32/src/bin/dac.rs index 67a7d5b59..fb7a84b1b 100644 --- a/tests/stm32/src/bin/dac.rs +++ b/tests/stm32/src/bin/dac.rs | |||
| @@ -54,7 +54,7 @@ async fn main(_spawner: Spawner) { | |||
| 54 | // Calibrate and normalize the measurement to get close to the dac_output_val | 54 | // Calibrate and normalize the measurement to get close to the dac_output_val |
| 55 | let measured_normalized = ((measured as i32 - offset as i32) / normalization_factor) as i16; | 55 | let measured_normalized = ((measured as i32 - offset as i32) / normalization_factor) as i16; |
| 56 | 56 | ||
| 57 | info!("value / measured: {} / {}", dac_output_val, measured_normalized); | 57 | //info!("value / measured: {} / {}", dac_output_val, measured_normalized); |
| 58 | 58 | ||
| 59 | // The deviations are quite enormous but that does not matter since this is only a quick test | 59 | // The deviations are quite enormous but that does not matter since this is only a quick test |
| 60 | assert!((dac_output_val as i16 - measured_normalized).abs() < 15); | 60 | assert!((dac_output_val as i16 - measured_normalized).abs() < 15); |
