diff options
author | Manuel Coenen <manuel@duet3d.com> | 2021-01-20 14:06:57 +0300 |
---|---|---|
committer | Manuel Coenen <manuel@duet3d.com> | 2021-01-20 14:06:57 +0300 |
commit | 2b8228948d03faafc18626d5d7b2f00b72b8e85d (patch) | |
tree | 1dcf27d219df775cb1c43d6950221e43e6f9585c /src/Hardware/SAME70 | |
parent | e0f70c42bc156339d3018b1c6eff03a532266c5a (diff) |
Initialize AnalogIn and AnalogOut
Diffstat (limited to 'src/Hardware/SAME70')
-rw-r--r-- | src/Hardware/SAME70/Devices.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Hardware/SAME70/Devices.cpp b/src/Hardware/SAME70/Devices.cpp index 871d8606..5c18e516 100644 --- a/src/Hardware/SAME70/Devices.cpp +++ b/src/Hardware/SAME70/Devices.cpp @@ -6,6 +6,8 @@ */ #include "Devices.h" +#include <AnalogIn.h> +#include <AnalogOut.h> AsyncSerial Serial(UART2, UART2_IRQn, ID_UART2, 512, 512, [](AsyncSerial*) noexcept { }, [](AsyncSerial*) noexcept { }); USARTClass Serial1(USART2, USART2_IRQn, ID_USART2, 512, 512, [](AsyncSerial*) noexcept { }, [](AsyncSerial*) noexcept { }); @@ -58,6 +60,9 @@ void DeviceInit() noexcept { SerialInit(); SdhcInit(); + + LegacyAnalogIn::AnalogInInit(); + AnalogOut::Init(); } void StopAnalogTask() noexcept |