This repository was archived by the owner on Jun 16, 2024. It is now read-only.
Commit 909f023 1 parent 7d8d2a3 commit 909f023 Copy full SHA for 909f023
File tree 2 files changed +2
-2
lines changed
src/main/scala/ee/hrzn/chryse/platform/resource
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class SPI extends ResourceBase {
25
25
// TODO: DSPI, QSPI
26
26
27
27
val cs = ResourceData (Output (Bool ()), invert = true ) // permitted to be unset
28
- val clock = ResourceData (Output (Clock ()))
28
+ val clock = ResourceData (Output (Bool ()))
29
29
val copi = ResourceData (Output (Bool ()))
30
30
val cipo = ResourceData (Input (Bool ()))
31
31
val wp = ResourceData (Output (Bool ()), invert = true ) // permitted to be unset
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class SPIOLED extends ResourceBase {
27
27
//
28
28
// XXX: I don't think having this and SPI and etc. are all particularly necessary/helpful.
29
29
val cs = ResourceData (Output (Bool ()), invert = true ) // permitted to be unset
30
- val clock = ResourceData (Output (Clock ()))
30
+ val clock = ResourceData (Output (Bool ()))
31
31
val copi = ResourceData (Output (Bool ()))
32
32
val cipo = ResourceData (Input (Bool ())) // permitted to be unset
33
33
val dc = ResourceData (Output (Bool ()), invert = true )
You can’t perform that action at this time.
0 commit comments