summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index d46ed34..9e48875 100644
--- a/main.cpp
+++ b/main.cpp
@@ -247,7 +247,7 @@ int main() {
cs_pressure.on();
cs_pressure.set_mode(Pin::Output);
- SPI1.reg.CR1 = 0x37f;
+ SPI1.reg.CR1 = (1 << 9) | (1 << 8) | (1 << 6) | (3 << 3) | (1 << 2) | (1 << 1) | (1 << 0); // SSM, SSI, SPE, 84/16MHz, MSTR, CPOL, CPHA
Time::sleep(1000);