Added comments to callbacks
This commit is contained in:
@@ -20,8 +20,7 @@ private:
|
|||||||
String received;
|
String received;
|
||||||
String command;
|
String command;
|
||||||
|
|
||||||
void (*acknowledgeHandler)(String args);
|
// Callback handlers for specific commands
|
||||||
void (*repeatHandler)(String args);
|
|
||||||
void (*calibrationBeginHandler)(String args);
|
void (*calibrationBeginHandler)(String args);
|
||||||
void (*calibrationInteruptHandler)(String args);
|
void (*calibrationInteruptHandler)(String args);
|
||||||
|
|
||||||
@@ -103,6 +102,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
void cycle();
|
void cycle();
|
||||||
|
|
||||||
|
// Register a callbacks for specific commands.
|
||||||
void onCalibrationBegin(void (*handler)(String args));
|
void onCalibrationBegin(void (*handler)(String args));
|
||||||
void onCalibrationInterupt(void (*handler)(String args));
|
void onCalibrationInterupt(void (*handler)(String args));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user