Skip to content

Commit d68e2a5

Browse files
ArndArnd
authored andcommitted
final clang-format correction
1 parent ccc6714 commit d68e2a5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/DSFamily.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -658,9 +658,8 @@ uint8_t DSFamily_Class::search(uint8_t *newAddr) {
658658
LastDeviceFlag = false;
659659
LastFamilyDiscrepancy = 0;
660660
search_result = false;
661-
} // of if-then no device found
662-
for (int i = 0; i < 8; i++)
663-
newAddr[i] = ROM_NO[i]; // Copy result buffer
661+
} // of if-then no device found
662+
for (int i = 0; i < 8; i++) newAddr[i] = ROM_NO[i]; // Copy result buffer
664663
return search_result;
665664
} // of method search()
666665
uint8_t DSFamily_Class::crc8(const uint8_t *addr, uint8_t len) {

0 commit comments

Comments
 (0)