aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/ioports.h2
-rw-r--r--src/templates/ioports_lld.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ioports.h b/src/include/ioports.h
index 6ccf435af..94488640a 100644
--- a/src/include/ioports.h
+++ b/src/include/ioports.h
@@ -116,7 +116,7 @@ typedef struct {
* for atomicity and/or portability reasons you may need to enclose port
* I/O operations between @p chSysLock() and @p chSysUnlock().
*/
-#define chPortToggle(port, bits) ioport_clear_lld(port, bits)
+#define chPortToggle(port, bits) ioport_toggle_lld(port, bits)
/**
* @brief Writes a value on an I/O bus.
diff --git a/src/templates/ioports_lld.h b/src/templates/ioports_lld.h
index 422abe350..8420ca1c7 100644
--- a/src/templates/ioports_lld.h
+++ b/src/templates/ioports_lld.h
@@ -18,7 +18,7 @@
*/
/**
- * @file ioports_lld.h
+ * @file src/templates/ioports_lld.h
* @brief I/O ports low level driver
* @addtogroup IOPortsLLD
* @{
@@ -118,7 +118,7 @@ typedef uint32_t ioportid_t;
* @note This function is not meant to be invoked directly by the application
* code.
*/
-#define ioport_clear_lld(port, bits)
+#define ioport_toggle_lld(port, bits)
/**
* @brief Writes a value on an I/O bus.