From b5d94014cd14d29c8aaca38179985dff675bbbc2 Mon Sep 17 00:00:00 2001 From: Andrey G Date: Fri, 16 Sep 2022 21:27:16 +0300 Subject: [PATCH] max31855: ups, reference, not copy (#146) --- firmware/max31855.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/max31855.cpp b/firmware/max31855.cpp index c6253d2..dc83d3c 100644 --- a/firmware/max31855.cpp +++ b/firmware/max31855.cpp @@ -122,7 +122,7 @@ void Max31855Thread::ThreadTask() { while (true) { for (int ch = 0; ch < EGT_CHANNELS; ch++) { - Max31855 current = max31855[ch]; + Max31855 ¤t = max31855[ch]; current.readPacket(); }