diff options
| author | xoviat <[email protected]> | 2025-12-09 20:03:13 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-09 20:03:13 +0000 |
| commit | cf069b3e4e6a02660893ef8014e4ab69df6d46e0 (patch) | |
| tree | 680ced0d79b26e3cce48a81ee81e05d4c9761da7 /examples/stm32h7/src/bin | |
| parent | 337e6e264e27908356ec65a80bf3ea779c01b7ab (diff) | |
| parent | ac764a85a1287b9ca921352aa1fd21c78ffa0312 (diff) | |
Merge pull request #4706 from rolim/stm32-sai-allow-nodiv-and-master-clock-divider
STM32/SAI: allow again to set nodiv independently of master clock divider
Diffstat (limited to 'examples/stm32h7/src/bin')
| -rw-r--r-- | examples/stm32h7/src/bin/sai.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32h7/src/bin/sai.rs b/examples/stm32h7/src/bin/sai.rs index 847b70c85..0300f83bf 100644 --- a/examples/stm32h7/src/bin/sai.rs +++ b/examples/stm32h7/src/bin/sai.rs | |||
| @@ -63,7 +63,7 @@ async fn main(_spawner: Spawner) { | |||
| 63 | tx_config.tx_rx = TxRx::Transmitter; | 63 | tx_config.tx_rx = TxRx::Transmitter; |
| 64 | tx_config.sync_output = true; | 64 | tx_config.sync_output = true; |
| 65 | tx_config.clock_strobe = ClockStrobe::Falling; | 65 | tx_config.clock_strobe = ClockStrobe::Falling; |
| 66 | tx_config.master_clock_divider = Some(mclk_div); | 66 | tx_config.master_clock_divider = mclk_div; |
| 67 | tx_config.stereo_mono = StereoMono::Stereo; | 67 | tx_config.stereo_mono = StereoMono::Stereo; |
| 68 | tx_config.data_size = DataSize::Data24; | 68 | tx_config.data_size = DataSize::Data24; |
| 69 | tx_config.bit_order = BitOrder::MsbFirst; | 69 | tx_config.bit_order = BitOrder::MsbFirst; |
