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/Sleep.hpp
- Revision:
- 6:a8c83a2e6fa4
- Parent:
- 0:f77ad7f72d04
diff -r caf56f265a13 -r a8c83a2e6fa4 Links/Sleep.hpp --- a/Links/Sleep.hpp Fri Jan 19 10:25:02 2018 -0600 +++ b/Links/Sleep.hpp Wed Jan 23 13:11:04 2019 -0600 @@ -38,10 +38,10 @@ class Sleep { public: virtual ~Sleep() {} - - virtual void operator()(int ms) const = 0; + virtual void invoke(int ms) const = 0; + void operator()(int ms) const { invoke(ms); } }; } // namespace MaximInterface -#endif \ No newline at end of file +#endif