Skip to content

Commit

Permalink
Search bug fix (Love Nystrom)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStoffregen committed Mar 26, 2015
1 parent 358d501 commit c6564f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion OneWire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ please contact Paul.
Version 2.3:
Unknonw chip fallback mode, Roger Clark
Teensy-LC compatibility, Paul Stoffregen
Search bug fix, Love Nystrom
Version 2.2:
Teensy 3.0 compatibility, Paul Stoffregen, [email protected]
Expand Down Expand Up @@ -456,8 +457,9 @@ uint8_t OneWire::search(uint8_t *newAddr)
LastDeviceFlag = FALSE;
LastFamilyDiscrepancy = 0;
search_result = FALSE;
} else {
for (int i = 0; i < 8; i++) newAddr[i] = ROM_NO[i];
}
for (int i = 0; i < 8; i++) newAddr[i] = ROM_NO[i];
return search_result;
}

Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name=OneWire
version=2.3
author=Jim Studt, Tom Pollard, Robin James, Glenn Trewitt, Jason Dangel, Guillermo Lovato, Paul Stoffregen, Scott Roberts, Bertrik Sikken, Mark Tillotson, Ken Butcher, Roger Clark
author=Jim Studt, Tom Pollard, Robin James, Glenn Trewitt, Jason Dangel, Guillermo Lovato, Paul Stoffregen, Scott Roberts, Bertrik Sikken, Mark Tillotson, Ken Butcher, Roger Clark, Love Nystrom
maintainer=Paul Stoffregen
sentence=Access 1-wire temperature sensors, memory and other chips.
paragraph=
Expand Down

0 comments on commit c6564f2

Please sign in to comment.