From 823877bce03b5d3848a0d1a7302260dc95e7a9cd Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 5 Jan 2014 14:04:55 +0000 Subject: stm: rename sw_xx to switch_xx; change Python bindings to new version. --- stm/usrsw.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'stm/usrsw.h') diff --git a/stm/usrsw.h b/stm/usrsw.h index 2833baaac..2da8f069b 100644 --- a/stm/usrsw.h +++ b/stm/usrsw.h @@ -1,7 +1,4 @@ -#ifndef __USRSW_H__ -#define __USRSW_H__ -void sw_init(void); -int sw_get(void); +void switch_init(void); +int switch_get(void); -mp_obj_t pyb_sw(void); -#endif //__USRSW_H__ +MP_DECLARE_CONST_FUN_OBJ(pyb_switch_obj); -- cgit v1.2.3