diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-10-31 00:05:13 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-10-31 00:05:13 +0300 |
commit | 22276b993bc8db027d55d8d47de4559ad10ca044 (patch) | |
tree | a69319e723ce32ce0e638057c325473fe3b16691 /src/DuetNG | |
parent | 4d27cc210b6af47b3e99353c67568a157fb484ed (diff) |
Added explicit constructor calls
Diffstat (limited to 'src/DuetNG')
-rw-r--r-- | src/DuetNG/DueXn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DuetNG/DueXn.cpp b/src/DuetNG/DueXn.cpp index 7b59b49e..caa6167d 100644 --- a/src/DuetNG/DueXn.cpp +++ b/src/DuetNG/DueXn.cpp @@ -145,7 +145,7 @@ void DuetExpansion::DueXnTaskInit() noexcept if (dueXnBoardType != ExpansionBoardType::none) { // Set up the interrupt on any input change - attachInterrupt(DueX_INT, DueXIrq, InterruptMode::falling, nullptr); + attachInterrupt(DueX_INT, DueXIrq, InterruptMode::falling, CallbackParameter(nullptr)); // Clear any initial interrupts (void)dueXnExpander.interruptSourceAndClear(); |