summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mods/pybsd.c
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-09-03 11:25:44 +0200
committerDaniel Campora <daniel@wipy.io>2015-09-10 07:59:35 +0200
commitd5e256486eafab543c3e24850fe87136c2f0575d (patch)
tree7082fb8108308a8b39f9c44423097e8f453c3bc6 /cc3200/mods/pybsd.c
parent42054c3cad3c31fa25c09450577d986b62d983c0 (diff)
downloadmicropython-d5e256486eafab543c3e24850fe87136c2f0575d.tar.gz
micropython-d5e256486eafab543c3e24850fe87136c2f0575d.zip
cc3200: Re-work Pin class according to the new API.
Also add relevant test.
Diffstat (limited to 'cc3200/mods/pybsd.c')
-rw-r--r--cc3200/mods/pybsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/mods/pybsd.c b/cc3200/mods/pybsd.c
index a527bdc039..052a6b51e6 100644
--- a/cc3200/mods/pybsd.c
+++ b/cc3200/mods/pybsd.c
@@ -80,7 +80,7 @@ STATIC mp_obj_t pybsd_unmount (mp_obj_t self_in);
DEFINE PUBLIC FUNCTIONS
******************************************************************************/
__attribute__ ((section (".boot")))
-void pybsd_init0 (void) {
+void pybsd_pre_init (void) {
// allocate memory for the sd file system
ASSERT ((pybsd_obj.fatfs = mem_Malloc(sizeof(FATFS))) != NULL);
}