Implementation of 1-Wire with added Alarm Search Functionality
Dependents: Max32630_One_Wire_Interface
Diff: Slaves/OneWireSlave.h
- Revision:
- 113:13e2865603df
- Parent:
- 103:6dcbb5166da1
diff -r 82eb520a644b -r 13e2865603df Slaves/OneWireSlave.h --- a/Slaves/OneWireSlave.h Mon Aug 08 23:25:51 2016 +0000 +++ b/Slaves/OneWireSlave.h Tue Aug 09 12:35:22 2016 -0500 @@ -68,6 +68,8 @@ /// @param selector Provides 1-Wire ROM selection and bus access. OneWireSlave(RandomAccessRomIterator & selector) : m_selector(selector) { } + ~OneWireSlave() { } + /// Select this slave device by ROM ID. OneWireMaster::CmdResult selectDevice() const { return m_selector.selectDevice(m_romId); }