diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-01-20 00:08:36 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-01-20 00:08:36 +0300 |
commit | fcd8410fb6379597f4ee0bf5a599d93161eea245 (patch) | |
tree | 91db56244fee324524a7bd655c866f0eee3836f4 /src/Hardware/SAME70/Devices.cpp | |
parent | 429a80d37d495c6e26e0bcc47c9eebbb5d9709cd (diff) |
Fixed call to DeviceInit
Diffstat (limited to 'src/Hardware/SAME70/Devices.cpp')
-rw-r--r-- | src/Hardware/SAME70/Devices.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hardware/SAME70/Devices.cpp b/src/Hardware/SAME70/Devices.cpp index f9b85260..468533e4 100644 --- a/src/Hardware/SAME70/Devices.cpp +++ b/src/Hardware/SAME70/Devices.cpp @@ -21,7 +21,7 @@ constexpr auto Serial1PinFunction = GpioPinFunction::C; constexpr Pin HcmciMclkPin = PortAPin(25); constexpr auto HsmciMclkPinFunction = GpioPinFunction::D; constexpr Pin HsmciOtherPins[] = { PortAPin(26), PortAPin(27), PortAPin(28), PortAPin(30), PortAPin(31) }; -constexpr auto HsmciOtherkPinsFunction = GpioPinFunction::C; +constexpr auto HsmciOtherPinsFunction = GpioPinFunction::C; void UART2_Handler(void) noexcept { @@ -49,7 +49,7 @@ void SdhcInit() noexcept SetPinFunction(HcmciMclkPin, HsmciMclkPinFunction); for (Pin p : HsmciOtherPins) { - SetPinFunction(p, HsmciOtherkPinsFunction); + SetPinFunction(p, HsmciOtherPinsFunction); } } |