aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdisp.c')
-rw-r--r--src/gdisp.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/gdisp.c b/src/gdisp.c
index a63b3db5..83ba8972 100644
--- a/src/gdisp.c
+++ b/src/gdisp.c
@@ -258,9 +258,9 @@
* @brief Draw a line.
* @pre The GDISP unit must be in powerOn or powerSleep mode.
*
- * @param[in] x0,y0 The start position
- * @param[in] x1,y1 The end position
- * @param[in] color The color to use
+ * @param[in] x0,y0 The start position
+ * @param[in] x1,y1 The end position
+ * @param[in] color The color to use
*
* @api
*/
@@ -280,6 +280,18 @@
chMBPost(&gdispMailbox, (msg_t)p, TIME_INFINITE);
}
#endif
+
+ /**
+ * @brief Draw a dashed line.
+ * @pre The GDISP unit must be in powerOn or powerSleep mode.
+ *
+ * @param[in] x0,y0 The start position
+ * @param[in] x1,y1 The end position
+ * @param[in] length The length of the dash
+ * @param[in] color The color of the dashed line
+ *
+ * @api
+ */
#if GDISP_NEED_MULTITHREAD || defined(__DOXYGEN__)
/**