Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hardware/SAM4E')
-rw-r--r--src/Hardware/SAM4E/Devices.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Hardware/SAM4E/Devices.cpp b/src/Hardware/SAM4E/Devices.cpp
index ca3ec53a..c5a5fcae 100644
--- a/src/Hardware/SAM4E/Devices.cpp
+++ b/src/Hardware/SAM4E/Devices.cpp
@@ -29,11 +29,11 @@ void SerialInit() noexcept
{
SetPinFunction(APIN_Serial0_RXD, Serial0PeriphMode);
SetPinFunction(APIN_Serial0_TXD, Serial0PeriphMode);
- SetPullup(APIN_Serial0_RXD, true);
+ EnablePullup(APIN_Serial0_RXD);
SetPinFunction(APIN_Serial1_RXD, Serial1PeriphMode);
SetPinFunction(APIN_Serial1_TXD, Serial1PeriphMode);
- 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, HsmciPinsFunction);
- SetPullup(p, true);
+ EnablePullup(p);
}
}