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:
authorDavid Crocker <dcrocker@eschertech.com>2021-10-31 00:05:13 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-10-31 00:05:13 +0300
commit22276b993bc8db027d55d8d47de4559ad10ca044 (patch)
treea69319e723ce32ce0e638057c325473fe3b16691 /src/Platform
parent4d27cc210b6af47b3e99353c67568a157fb484ed (diff)
Added explicit constructor calls
Diffstat (limited to 'src/Platform')
-rw-r--r--src/Platform/Platform.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Platform/Platform.cpp b/src/Platform/Platform.cpp
index be34c04a..086daf08 100644
--- a/src/Platform/Platform.cpp
+++ b/src/Platform/Platform.cpp
@@ -799,9 +799,9 @@ void Platform::Init() noexcept
#if HAS_CPU_TEMP_SENSOR
# if SAME5x
tpFilter.Init(0);
- AnalogIn::EnableTemperatureSensor(0, tpFilter.CallbackFeedIntoFilter, &tpFilter, 1, 0);
+ AnalogIn::EnableTemperatureSensor(0, tpFilter.CallbackFeedIntoFilter, CallbackParameter(&tpFilter), 1, 0);
tcFilter.Init(0);
- AnalogIn::EnableTemperatureSensor(1, tcFilter.CallbackFeedIntoFilter, &tcFilter, 1, 0);
+ AnalogIn::EnableTemperatureSensor(1, tcFilter.CallbackFeedIntoFilter, CallbackParameter(&tcFilter), 1, 0);
TemperatureCalibrationInit();
# else
filteredAdcChannels[CpuTempFilterIndex] =