aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ioports.h2
1 files changed, 1 insertions, 1 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.