diff options
author | Daniel Campora <daniel@wipy.io> | 2015-03-28 21:46:48 +0100 |
---|---|---|
committer | Daniel Campora <daniel@wipy.io> | 2015-03-31 14:34:07 +0200 |
commit | 3f42f32648b7dfb5ac9aa9fb12a546999219b3da (patch) | |
tree | 08e02bf0a0391c2701eb8d437d5aa66c569467cf /cc3200/mods/pybsd.c | |
parent | 344057ac5030d24ef9d754e04b47a3af85c33616 (diff) | |
download | micropython-3f42f32648b7dfb5ac9aa9fb12a546999219b3da.tar.gz micropython-3f42f32648b7dfb5ac9aa9fb12a546999219b3da.zip |
cc3200: Remove duplicated code from moduos.
Error reporting is also changed from detailed to terse, as with the
rest of the CC3200's modules. All this combined saves ~200 bytes.
Diffstat (limited to 'cc3200/mods/pybsd.c')
-rw-r--r-- | cc3200/mods/pybsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc3200/mods/pybsd.c b/cc3200/mods/pybsd.c index e8aceeccab..daac95301d 100644 --- a/cc3200/mods/pybsd.c +++ b/cc3200/mods/pybsd.c @@ -73,7 +73,7 @@ STATIC mp_obj_t pybsd_disable (mp_obj_t self_in); STATIC mp_obj_t pybsd_enable (mp_obj_t self_in); /****************************************************************************** - DECLARE PUBLIC FUNCTIONS + DEFINE PUBLIC FUNCTIONS ******************************************************************************/ __attribute__ ((section (".boot"))) void pybsd_init0 (void) { @@ -86,7 +86,7 @@ void pybsd_deinit (void) { } /****************************************************************************** - DECLARE PRIVATE FUNCTIONS + DEFINE PRIVATE FUNCTIONS ******************************************************************************/ /// Initalizes the sd card driver STATIC void pybsd_init (pybsd_obj_t *self) { |