You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/10/30 12:59:39 UTC
[incubator-nuttx-apps] branch master updated (7a272df -> cc4d817)
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git.
from 7a272df industry/foc/*/foc_model_pmsm.c: cosmetics
add 013caaa examples/foc: move the parse args logic to a separate file
add cc4d817 examples/foc: use getopt to parse arguments
No new revisions were added by this update.
Summary of changes:
examples/foc/Makefile | 4 +
examples/foc/foc_main.c | 243 ++++-------------------------
examples/foc/foc_parseargs.c | 185 ++++++++++++++++++++++
examples/foc/{foc_mq.h => foc_parseargs.h} | 45 ++----
4 files changed, 236 insertions(+), 241 deletions(-)
create mode 100644 examples/foc/foc_parseargs.c
copy examples/foc/{foc_mq.h => foc_parseargs.h} (73%)