summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/asserv.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/src/asserv.h')
-rw-r--r--digital/io/src/asserv.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/digital/io/src/asserv.h b/digital/io/src/asserv.h
index 6bb883d2..ab81118a 100644
--- a/digital/io/src/asserv.h
+++ b/digital/io/src/asserv.h
@@ -69,6 +69,18 @@ uint8_t
asserv_last_cmd_ack (void);
/**
+ * Re-send command if not acknowledged.
+ * This function should be called when the command has not been acknowledged
+ * by the asserv board. It will re send the last command when a certain number
+ * of cycle has been reached without any acknowledge from the asserv.
+ * @return
+ * - 0 if the command was not received.
+ * - 1 if the command was re-sent.
+ */
+uint8_t
+asserv_retransmit (void);
+
+/**
* Status of a move or arm class command.
* It is return by status functions.
*/