diff options
| author | crispaudio <[email protected]> | 2025-10-10 07:04:41 +0200 |
|---|---|---|
| committer | crispaudio <[email protected]> | 2025-10-10 07:04:41 +0200 |
| commit | fd35ddf305fcace9faa7266529d959dc8c425a90 (patch) | |
| tree | 983404f2bed54c9793235351fe71ad7615325b4f /embassy-mspm0 | |
| parent | 4217a264dba3a77da38897537f90e1fdfe5b9ddb (diff) | |
mspm0-i2c-target: make calculate_clock_source pub(crate) for mspm0c
Diffstat (limited to 'embassy-mspm0')
| -rw-r--r-- | embassy-mspm0/src/i2c.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-mspm0/src/i2c.rs b/embassy-mspm0/src/i2c.rs index fb871f85d..3067f4833 100644 --- a/embassy-mspm0/src/i2c.rs +++ b/embassy-mspm0/src/i2c.rs | |||
| @@ -201,7 +201,7 @@ impl Config { | |||
| 201 | } | 201 | } |
| 202 | 202 | ||
| 203 | #[cfg(any(mspm0c110x, mspm0c1105_c1106))] | 203 | #[cfg(any(mspm0c110x, mspm0c1105_c1106))] |
| 204 | fn calculate_clock_source(&self) -> u32 { | 204 | pub(crate) fn calculate_clock_source(&self) -> u32 { |
| 205 | // Assume that BusClk has default value. | 205 | // Assume that BusClk has default value. |
| 206 | // TODO: calculate BusClk more precisely. | 206 | // TODO: calculate BusClk more precisely. |
| 207 | match self.clock_source { | 207 | match self.clock_source { |
