Merge pull request #1995 from VOGL-electronic/soc_spi_master_int
soc: add_spi_master: make spi_clk_freq an int
This commit is contained in:
commit
f40f63ae29
|
@ -1973,6 +1973,8 @@ class LiteXSoC(SoC):
|
|||
|
||||
self.check_if_exists(f"{name}")
|
||||
|
||||
spi_clk_freq = int(spi_clk_freq)
|
||||
|
||||
if pads is None:
|
||||
pads = self.platform.request(name)
|
||||
|
||||
|
|
Loading…
Reference in New Issue