We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a5a189e + 2af9c8e commit 6717276Copy full SHA for 6717276
src/Capabilities/RangeController.h
@@ -87,7 +87,7 @@ using SetRangeValueCallback = std::function<bool(const String &, int &)>;
87
* @section AdjustRangeValueCallback Example-Code
88
* @snippet callbacks.cpp onAdjustRangeValue
89
**/
90
-using AdjustRangeValueCallback = bool (*)(const String &, int &);
+using AdjustRangeValueCallback = std::function<bool(const String&, int&)>;
91
92
/**
93
* @brief Callback definition for onAdjustRangeValue function on a specific instance for custom devices
0 commit comments