From d68e2a5b1d9fdb515168434dab1ac5eb1c6da246 Mon Sep 17 00:00:00 2001 From: Arnd Date: Sat, 12 Dec 2020 12:50:52 +0100 Subject: [PATCH] final clang-format correction --- src/DSFamily.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/DSFamily.cpp b/src/DSFamily.cpp index 5cc2e05..103a692 100644 --- a/src/DSFamily.cpp +++ b/src/DSFamily.cpp @@ -658,9 +658,8 @@ uint8_t DSFamily_Class::search(uint8_t *newAddr) { LastDeviceFlag = false; LastFamilyDiscrepancy = 0; search_result = false; - } // of if-then no device found - for (int i = 0; i < 8; i++) - newAddr[i] = ROM_NO[i]; // Copy result buffer + } // of if-then no device found + for (int i = 0; i < 8; i++) newAddr[i] = ROM_NO[i]; // Copy result buffer return search_result; } // of method search() uint8_t DSFamily_Class::crc8(const uint8_t *addr, uint8_t len) {