We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccc6714 commit d68e2a5Copy full SHA for d68e2a5
src/DSFamily.cpp
@@ -658,9 +658,8 @@ uint8_t DSFamily_Class::search(uint8_t *newAddr) {
658
LastDeviceFlag = false;
659
LastFamilyDiscrepancy = 0;
660
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
+ } // of if-then no device found
+ for (int i = 0; i < 8; i++) newAddr[i] = ROM_NO[i]; // Copy result buffer
664
return search_result;
665
} // of method search()
666
uint8_t DSFamily_Class::crc8(const uint8_t *addr, uint8_t len) {
0 commit comments