Skip to content

Commit

Permalink
cmake(bugfix):fix ymodem cmake typo
Browse files Browse the repository at this point in the history
Signed-off-by: xuxin19 <[email protected]>
  • Loading branch information
xuxin930 authored and xiaoxiang781216 committed Nov 3, 2024
1 parent c403d6c commit 90f2a33
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions system/ymodem/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
# ##############################################################################

if(CONFIG_SYSTEM_YMODEM)
set(CSRCS ymodem.c)

target_sources(apps PRIVATE ymodem.c)
nuttx_add_application(
MODULE
${CONFIG_SYSTEM_YMODEM}
Expand All @@ -31,8 +30,7 @@ if(CONFIG_SYSTEM_YMODEM)
PRIORITY
${CONFIG_SYSTEM_YMODEM_PRIORITY}
SRCS
sb_main.c
${CSRCS})
sb_main.c)

nuttx_add_application(
MODULE
Expand All @@ -44,6 +42,6 @@ if(CONFIG_SYSTEM_YMODEM)
PRIORITY
${CONFIG_SYSTEM_YMODEM_PRIORITY}
SRCS
rb_main.c
${CSRCS})
rb_main.c)

endif()

0 comments on commit 90f2a33

Please sign in to comment.