Fix control may reach end of non-void function error

pull/10/head
Ryan Drake 2016-10-06 15:19:00 -07:00
parent b39c13fe1b
commit 30622eefa8
2 changed files with 4 additions and 0 deletions

View File

@ -326,6 +326,8 @@ static int do_help(const struct command_handler *cmd)
printf("\nWARNING: raw command may damage your device\n\n");
}
return 0;
}
int main(int argc, char **argv)

View File

@ -75,4 +75,6 @@ int test_blink_n_shift(void)
TEST_BLINK_OR_SHIFT(blink);
TEST_BLINK_OR_SHIFT(shift);
return 0;
}