summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/usrsw.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/usrsw.h')
-rw-r--r--stmhal/usrsw.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/stmhal/usrsw.h b/stmhal/usrsw.h
index b1b838653f..f60147c540 100644
--- a/stmhal/usrsw.h
+++ b/stmhal/usrsw.h
@@ -1,5 +1,4 @@
void switch_init0(void);
-void switch_init(void);
int switch_get(void);
-MP_DECLARE_CONST_FUN_OBJ(pyb_switch_obj);
+extern const mp_obj_type_t pyb_switch_type;