From efad674d4a71fc4e5faa5fde87ab0754bdb292a8 Mon Sep 17 00:00:00 2001 From: Lyubomir Penev Date: Sun, 25 Jan 2026 16:42:43 +0100 Subject: [PATCH] Added comments to callbacks --- include/serialConnector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/serialConnector.h b/include/serialConnector.h index f7dedf5..894800e 100644 --- a/include/serialConnector.h +++ b/include/serialConnector.h @@ -20,8 +20,7 @@ private: String received; String command; - void (*acknowledgeHandler)(String args); - void (*repeatHandler)(String args); + // Callback handlers for specific commands void (*calibrationBeginHandler)(String args); void (*calibrationInteruptHandler)(String args); @@ -103,6 +102,7 @@ public: */ void cycle(); + // Register a callbacks for specific commands. void onCalibrationBegin(void (*handler)(String args)); void onCalibrationInterupt(void (*handler)(String args));