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.
Dependencies: mbed SDFileSystem
Diff: include/DeviceRepeater.h
- Revision:
- 10:db2be22bc2f9
- Parent:
- 7:9ab8809f9693
- Child:
- 17:c2709a9c0a68
--- a/include/DeviceRepeater.h Mon May 13 02:56:39 2019 +0000
+++ b/include/DeviceRepeater.h Sat May 18 03:28:31 2019 +0000
@@ -18,6 +18,7 @@
static const int DEFAULT_REPEAT_STRIDE = 5;
static const int NOT_ID_SELECTED = -1;
private:
+ int deviceID;
int selected_id;
DevStatus stat;
DeviceDriver *pDriver;
@@ -32,7 +33,7 @@
private:
DeviceRepeater(void);
public:
- DeviceRepeater(DeviceDriver *setDriver);
+ DeviceRepeater(int deviceId, DeviceDriver *setDriver);
bool setRepeatCount(int maxcount);
bool setRepeatStride(int sec);
bool setConfigId(int id);