diff --git a/src/tinylor.h b/src/tinylor.h index 92b6dae..2f04548 100644 --- a/src/tinylor.h +++ b/src/tinylor.h @@ -115,6 +115,14 @@ typedef union lor_effect_data { /// @brief The length of the LOR heartbeat message \p LOR_HEARTBEAT_BYTES. #define LOR_HEARTBEAT_SIZE 5 +/// @def LOR_HEARTBEAT_DELAY_MS +/// @brief The intended delay in milliseconds between sending LOR heartbeats. +#define LOR_HEARTBEAT_DELAY_MS 500 + +/// @def LOR_HEARTBEAT_DELAY_NS +/// @brief The intended delay in nanoseconds between sending LOR heartbeats. +#define LOR_HEARTBEAT_DELAY_NS 500000000 + /// @struct lor_req /// @brief Represents a request to apply an effect to a set of channels on a /// specific unit. The effect may require additional arguments, which are diff --git a/tinylor.h b/tinylor.h index 35282ba..1259f5a 100644 --- a/tinylor.h +++ b/tinylor.h @@ -123,6 +123,14 @@ typedef union lor_effect_data { /// @brief The length of the LOR heartbeat message \p LOR_HEARTBEAT_BYTES. #define LOR_HEARTBEAT_SIZE 5 +/// @def LOR_HEARTBEAT_DELAY_MS +/// @brief The intended delay in milliseconds between sending LOR heartbeats. +#define LOR_HEARTBEAT_DELAY_MS 500 + +/// @def LOR_HEARTBEAT_DELAY_NS +/// @brief The intended delay in nanoseconds between sending LOR heartbeats. +#define LOR_HEARTBEAT_DELAY_NS 500000000 + /// @struct lor_req /// @brief Represents a request to apply an effect to a set of channels on a /// specific unit. The effect may require additional arguments, which are