summaryrefslogtreecommitdiffstats
path: root/serial_link/system/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'serial_link/system/system.h')
-rw-r--r--serial_link/system/system.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/serial_link/system/system.h b/serial_link/system/system.h
index 163349953d..1e4c610b1d 100644
--- a/serial_link/system/system.h
+++ b/serial_link/system/system.h
@@ -25,12 +25,18 @@ SOFTWARE.
#ifndef SERIAL_LINK_SYSTEM_H
#define SERIAL_LINK_SYSTEM_H
-void serial_link_lock() {
+inline void serial_link_lock(void) {
}
-void serial_link_unlock() {
+inline void serial_link_unlock(void) {
}
-void signal_data_written(void);
+void singal_data_written(void);
+
+#if defined(PROTOCOL_CHIBIOS)
+
+inline void signal_data_written(void) {
+}
+#endif
#endif