diff options
Diffstat (limited to 'apps/examples/lcdrw')
-rw-r--r-- | apps/examples/lcdrw/lcdrw_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/lcdrw/lcdrw_main.c b/apps/examples/lcdrw/lcdrw_main.c index 709859d1b..0b696a97a 100644 --- a/apps/examples/lcdrw/lcdrw_main.c +++ b/apps/examples/lcdrw/lcdrw_main.c @@ -155,7 +155,11 @@ static inline int lcdrw_initialize(FAR struct lcdrw_instance_s *inst) * Name: lcdrw_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int lcdrw_main(int argc, char *argv[]) +#endif { struct lcdrw_instance_s inst; nxgl_coord_t row; |