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: Devices/DS2480B.hpp
- Revision:
- 3:f818ea5172ed
- Parent:
- 0:f77ad7f72d04
- Child:
- 6:a8c83a2e6fa4
diff -r dbc089c57059 -r f818ea5172ed Devices/DS2480B.hpp
--- a/Devices/DS2480B.hpp Mon Nov 06 17:46:41 2017 -0600
+++ b/Devices/DS2480B.hpp Thu Jan 11 13:50:39 2018 -0600
@@ -44,7 +44,7 @@
class DS2480B : public OneWireMaster {
public:
enum ErrorValue {
- HardwareError = 1,
+ HardwareError = 1
};
DS2480B(const Sleep & sleep, Uart & uart) : sleep(&sleep), uart(&uart) {}
@@ -66,6 +66,9 @@
MaximInterface_EXPORT static const error_category & errorCategory();
+protected:
+ MaximInterface_EXPORT error_code sendCommand(uint_least8_t command);
+
private:
/// Baud rates for DS2480B
enum BaudRate {