diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2016-08-15 05:19:05 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2016-08-15 05:19:05 +0200 |
commit | 7f0f7a9b08de56ba7312f94a0706da1cd4348e61 (patch) | |
tree | 808d51b5f1e6946c7fe4ed464c10bb1cc53c6235 | |
parent | 5be1507a53366ef852f87aa6f10717ff92ae3cb8 (diff) |
Set SCK pin drive strength to max to fix SPI errata.
-rw-r--r-- | main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -499,6 +499,7 @@ int main() { nfc_ss.on(); nfc_ss.set_mode(Pin::Output); + nfc_sck.set_speed(Pin::High); nfc_sck.set_mode(Pin::AF); nfc_miso.set_mode(Pin::AF); nfc_mosi.set_mode(Pin::AF); |