diff options
author | danicampora <danicampora@gmail.com> | 2015-03-19 14:41:34 +0100 |
---|---|---|
committer | danicampora <danicampora@gmail.com> | 2015-03-21 11:21:45 +0100 |
commit | c45e641c1de2d7ad44cbe584377de7c92fb4d762 (patch) | |
tree | 3a00dd33de69ac471be3958c1068ca447e579306 /cc3200/misc/help.c | |
parent | 6bf423df2c3f5c7258f89467d9a5d7d035485d70 (diff) |
cc3200: Re-name pybsystick to mpsystick.
Diffstat (limited to 'cc3200/misc/help.c')
-rw-r--r-- | cc3200/misc/help.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cc3200/misc/help.c b/cc3200/misc/help.c index c681d4945..0059a4002 100644 --- a/cc3200/misc/help.c +++ b/cc3200/misc/help.c @@ -46,10 +46,9 @@ STATIC mp_obj_t pyb_help(uint n_args, const mp_obj_t *args) { if (n_args == 0) { // print a general help message printf("%s", help_text); - - } else { + } + else { // try to print something sensible about the given object - printf("object "); mp_obj_print(args[0], PRINT_STR); printf(" is of type %s\n", mp_obj_get_type_str(args[0])); @@ -76,7 +75,6 @@ STATIC mp_obj_t pyb_help(uint n_args, const mp_obj_t *args) { } } } - return mp_const_none; } MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mp_builtin_help_obj, 0, 1, pyb_help); |