diff options
Diffstat (limited to 'apps/examples/serialblaster')
-rw-r--r-- | apps/examples/serialblaster/serialblaster_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/serialblaster/serialblaster_main.c b/apps/examples/serialblaster/serialblaster_main.c index 88d8ebf84..c5356156c 100644 --- a/apps/examples/serialblaster/serialblaster_main.c +++ b/apps/examples/serialblaster/serialblaster_main.c @@ -67,7 +67,11 @@ static const char s[] = "abcdefghijklmnopqrstuvwxyz"; * serloop_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int serialblaster_main(int argc, char *argv[]) +#endif { int ret; |