From b04967964c052c9fd53114369ccdf1a2d53eeb9b Mon Sep 17 00:00:00 2001
From: Rahix <rahix@rahix.de>
Date: Thu, 11 Jul 2019 13:29:05 +0200
Subject: [PATCH] fix(doc): Fix vibra docs

Signed-off-by: Rahix <rahix@rahix.de>
---
 epicardium/epicardium.h | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/epicardium/epicardium.h b/epicardium/epicardium.h
index 2fc55d57f..21ce07ec6 100644
--- a/epicardium/epicardium.h
+++ b/epicardium/epicardium.h
@@ -10,6 +10,7 @@
 #define API_UART_WRITE         0x1
 #define API_UART_READ          0x2
 #define API_LEDS_SET           0x3
+#define API_VIBRA_SET          0x4
 /* clang-format on */
 
 /**
@@ -53,8 +54,16 @@ API(API_UART_READ, char epic_uart_read_chr(void));
  */
 API(API_LEDS_SET, void epic_leds_set(int led, uint8_t r, uint8_t g, uint8_t b));
 
-// turn vibration motor on or off
-#define API_VIBRA_SET  0x4
+/**
+ * Misc
+ * ====
+ */
+
+/**
+ * Turn vibration motor on or off
+ *
+ * :param status: 1 to turn on, 0 to turn off.
+ */
 API(API_VIBRA_SET, void epic_vibra_set(int status));
 
 #endif /* _EPICARDIUM_H */
-- 
GitLab