Skip to content

Commit

Permalink
Close file discriptor after sbus command is done
Browse files Browse the repository at this point in the history
  • Loading branch information
shengwen-tw committed May 25, 2024
1 parent 470fc2f commit 700ccae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions user/shell/sbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ int sbus(int argc, char *argv[])
shell_puts(str);
}

close(sbus_fd);

return 0;
}

Expand Down

0 comments on commit 700ccae

Please sign in to comment.