Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed_DS28EC20_GPIO
Diff: Links/SelectRom.cpp
- Revision:
- 6:a8c83a2e6fa4
- Parent:
- 0:f77ad7f72d04
diff -r caf56f265a13 -r a8c83a2e6fa4 Links/SelectRom.cpp --- a/Links/SelectRom.cpp Fri Jan 19 10:25:02 2018 -0600 +++ b/Links/SelectRom.cpp Wed Jan 23 13:11:04 2019 -0600 @@ -40,11 +40,11 @@ error_code SelectMatchRomWithResume::operator()(OneWireMaster & master) const { error_code result; - if (romId_ == data->lastRom) { + if (romId_ == data->lastRomId) { result = resumeRom(master); } else { result = matchRom(master, romId_); - data->lastRom = romId_; + data->lastRomId = romId_; } return result; }