summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/debug_menu.h4
-rw-r--r--firmware/export/system.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/debug_menu.h b/apps/debug_menu.h
index 7926ffcd3b..664a1ba762 100644
--- a/apps/debug_menu.h
+++ b/apps/debug_menu.h
@@ -24,8 +24,4 @@
bool debug_menu(void);
bool run_debug_screen(char* screen);
-#ifndef SIMULATOR
-extern bool dbg_ports(void);
-#endif
-
#endif
diff --git a/firmware/export/system.h b/firmware/export/system.h
index 1055c65b60..78fcd4caa9 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -386,4 +386,8 @@ static inline uint32_t swaw32_hw(uint32_t value)
* break strict aliasing rules' B.S. */
#define PUN_PTR(type, p) ((type)(intptr_t)(p))
+#ifndef SIMULATOR
+bool dbg_ports(void);
+#endif
+
#endif /* __SYSTEM_H__ */