diff --git a/src/main/scala/ee/hrzn/chryse/platform/resource/SPI.scala b/src/main/scala/ee/hrzn/chryse/platform/resource/SPI.scala index bb270ba..c1c6491 100644 --- a/src/main/scala/ee/hrzn/chryse/platform/resource/SPI.scala +++ b/src/main/scala/ee/hrzn/chryse/platform/resource/SPI.scala @@ -25,7 +25,7 @@ class SPI extends ResourceBase { // TODO: DSPI, QSPI val cs = ResourceData(Output(Bool()), invert = true) // permitted to be unset - val clock = ResourceData(Output(Clock())) + val clock = ResourceData(Output(Bool())) val copi = ResourceData(Output(Bool())) val cipo = ResourceData(Input(Bool())) val wp = ResourceData(Output(Bool()), invert = true) // permitted to be unset diff --git a/src/main/scala/ee/hrzn/chryse/platform/resource/SPIOLED.scala b/src/main/scala/ee/hrzn/chryse/platform/resource/SPIOLED.scala index 7e23766..34bf651 100644 --- a/src/main/scala/ee/hrzn/chryse/platform/resource/SPIOLED.scala +++ b/src/main/scala/ee/hrzn/chryse/platform/resource/SPIOLED.scala @@ -27,7 +27,7 @@ class SPIOLED extends ResourceBase { // // XXX: I don't think having this and SPI and etc. are all particularly necessary/helpful. val cs = ResourceData(Output(Bool()), invert = true) // permitted to be unset - val clock = ResourceData(Output(Clock())) + val clock = ResourceData(Output(Bool())) val copi = ResourceData(Output(Bool())) val cipo = ResourceData(Input(Bool())) // permitted to be unset val dc = ResourceData(Output(Bool()), invert = true)