summaryrefslogtreecommitdiffstats
path: root/utils/hwstub/include
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-08-28 22:52:45 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-08-28 22:52:29 +0200
commite2271ed75e0a59dd63afdc6c1f28ec4cee10a700 (patch)
tree4871c3ec521eb0f65bb00a109dc35b83b0dd75db /utils/hwstub/include
parent1cd96b4931cfe3a973ae528c505c494735154b11 (diff)
downloadrockbox-e2271ed75e0a59dd63afdc6c1f28ec4cee10a700.tar.gz
rockbox-e2271ed75e0a59dd63afdc6c1f28ec4cee10a700.tar.bz2
rockbox-e2271ed75e0a59dd63afdc6c1f28ec4cee10a700.zip
qeditor: fix compile error and some comments
Change-Id: I157c83fea8173adc53254f15aa49e41ee1ba7549
Diffstat (limited to 'utils/hwstub/include')
-rw-r--r--utils/hwstub/include/hwstub.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/hwstub/include/hwstub.hpp b/utils/hwstub/include/hwstub.hpp
index e403857200..90b29ebf9d 100644
--- a/utils/hwstub/include/hwstub.hpp
+++ b/utils/hwstub/include/hwstub.hpp
@@ -33,6 +33,7 @@
#include <mutex>
#include <condition_variable>
#include <ostream>
+#include <functional>
namespace hwstub {
@@ -80,7 +81,7 @@ std::string error_string(error err);
*
* A context provides a way to regularly poll for derive changes. There are two
* ways to manually force an update:
- * - on call to get_device_list(), the list is already refetched
+ * - on call to get_device_list(), the list is always refetched
* - on call to update_list() to force list update
* Note that automatic polling is disabled by default.
*/
@@ -212,7 +213,7 @@ public:
std::shared_ptr<context> get_context();
protected:
- /** Some subsystems allow for hardware to be open several times and so do not.
+ /** Some subsystems allow for hardware to be open several times and some do not.
* For example, libusb only allows one handle per device. To workaround this issue,
* open() will do some magic to allow for several open() even when the hardware
* supports only one. If the device does not support multiple