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.
1 parent 82a370f commit 4576e71Copy full SHA for 4576e71
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 = std::function<bool(const String&, int&);
+using AdjustRangeValueCallback = bool (*)(const String &, int &);
91
92
/**
93
* @brief Callback definition for onAdjustRangeValue function on a specific instance for custom devices
0 commit comments