summaryrefslogtreecommitdiff
path: root/stm/usrsw.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-05 06:05:13 -0800
committerDamien George <damien.p.george@gmail.com>2014-01-05 06:05:13 -0800
commitcd3c1ee3fcc1314980760cf5dcbb60e0c7ad2980 (patch)
tree112960012200c8faed6b77b170eda7e3679a6af5 /stm/usrsw.h
parent1703597c0b85211d9e515bc1c714029dd8306288 (diff)
parentde7fcc0c065c6854e02e0146165be0940fd30510 (diff)
Merge pull request #82 from iabdalkader/master
Move user switch code into a separate module
Diffstat (limited to 'stm/usrsw.h')
-rw-r--r--stm/usrsw.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/stm/usrsw.h b/stm/usrsw.h
new file mode 100644
index 000000000..2833baaac
--- /dev/null
+++ b/stm/usrsw.h
@@ -0,0 +1,7 @@
+#ifndef __USRSW_H__
+#define __USRSW_H__
+void sw_init(void);
+int sw_get(void);
+
+mp_obj_t pyb_sw(void);
+#endif //__USRSW_H__