diff options
Diffstat (limited to 'apps/examples/nrf24l01_term')
-rw-r--r-- | apps/examples/nrf24l01_term/nrf24l01_term.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/nrf24l01_term/nrf24l01_term.c b/apps/examples/nrf24l01_term/nrf24l01_term.c index 24d6a23ae..db4d56cc8 100644 --- a/apps/examples/nrf24l01_term/nrf24l01_term.c +++ b/apps/examples/nrf24l01_term/nrf24l01_term.c @@ -260,7 +260,11 @@ void usage(void) * Public Functions ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int nrf24l01_term_main(int argc, char *argv[]) +#endif { int ret; bool quit = false; |