max31855: ups, reference, not copy (#146)

This commit is contained in:
Andrey G 2022-09-16 21:27:16 +03:00 committed by GitHub
parent cf717982ab
commit b5d94014cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ void Max31855Thread::ThreadTask() {
while (true) {
for (int ch = 0; ch < EGT_CHANNELS; ch++) {
Max31855 current = max31855[ch];
Max31855 &current = max31855[ch];
current.readPacket();
}