max5719: Slow down SPI clock

- setting it to 30MHz hang MCU core
This commit is contained in:
linuswck 2024-01-11 17:46:35 +08:00
parent d3e3451d37
commit 709eae8566

View File

@ -9,7 +9,7 @@ pub const SPI_MODE: spi::Mode = spi::Mode {
polarity: spi::Polarity::IdleLow,
phase: spi::Phase::CaptureOnFirstTransition,
};
pub const SPI_CLOCK_MHZ: MegahertzU32 = MegahertzU32::from_raw(30);
pub const SPI_CLOCK_MHZ: MegahertzU32 = MegahertzU32::from_raw(10);
pub const MAX_VALUE: u32 = 0xFFFFF;