From 6625e45dd2f8b1db11cfd6d1b9a5a32ba12229cd Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 22 Dec 2024 00:33:16 +0800 Subject: [PATCH] remove a debug print that causes the uart to be claimed prematurely the uart in the shared library is claimed by the first process that touches it, so prints in the shared library at early boot have to be carefully configured --- libs/cramium-hal/src/udma/i2c.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/cramium-hal/src/udma/i2c.rs b/libs/cramium-hal/src/udma/i2c.rs index 9e32570d0..9c2ab9818 100644 --- a/libs/cramium-hal/src/udma/i2c.rs +++ b/libs/cramium-hal/src/udma/i2c.rs @@ -217,7 +217,6 @@ impl<'a> I2c<'a> { pending: I2cPending::Idle, perclk_freq, }; - crate::println!("Set divider to {}", divider,); i2c.send_cmd_list(&[I2cCmd::Config(divider)]); i2c }