diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-03-22 17:04:30 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-03-22 17:04:30 +0300 |
commit | 1bb0921de6868bbba28e49bdf4c75485cf20108d (patch) | |
tree | ab44fb71142e07692c339432dddf5031248f0e17 /src/Hardware/SAME70 | |
parent | 7b10730a5fee550e1d7b248631e900b88cd5b792 (diff) |
Replaced SetPullup calls by EnablePullup and DisablePullup
Also added ATX_POWER_INVERTED
Diffstat (limited to 'src/Hardware/SAME70')
-rw-r--r-- | src/Hardware/SAME70/Devices.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Hardware/SAME70/Devices.cpp b/src/Hardware/SAME70/Devices.cpp index 1b26e627..f6059509 100644 --- a/src/Hardware/SAME70/Devices.cpp +++ b/src/Hardware/SAME70/Devices.cpp @@ -29,11 +29,11 @@ void SerialInit() noexcept { SetPinFunction(APIN_Serial0_RXD, Serial0PinFunction); SetPinFunction(APIN_Serial0_TXD, Serial0PinFunction); - SetPullup(APIN_Serial0_RXD, true); + EnablePullup(APIN_Serial0_RXD); SetPinFunction(APIN_Serial1_RXD, Serial1PinFunction); SetPinFunction(APIN_Serial1_TXD, Serial1PinFunction); - SetPullup(APIN_Serial1_RXD, true); + EnablePullup(APIN_Serial1_RXD); } void SdhcInit() noexcept @@ -42,7 +42,7 @@ void SdhcInit() noexcept for (Pin p : HsmciOtherPins) { SetPinFunction(p, HsmciOtherPinsFunction); - SetPullup(p, true); + EnablePullup(p); } } |