Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: globalFlags.h
- Revision:
- 37:d51dacb4c30f
- Parent:
- 36:2cc739c7e4cb
- Child:
- 38:24ee50452755
diff -r 2cc739c7e4cb -r d51dacb4c30f globalFlags.h
--- a/globalFlags.h Wed Jan 16 10:51:07 2019 +0000
+++ b/globalFlags.h Thu Jan 17 11:26:09 2019 +0000
@@ -146,6 +146,7 @@
void setState(enmHbState stat);
void setStateF(enmHbState stat);
+bool isActiveState();
/*
class GlobalFlags{
@@ -188,7 +189,8 @@
extern bool gf_Armed; //アーミングフラグ
extern bool gf_Dbg; //デバッグフラグ
-extern bool gf_StopMot; //モーターの強制停止
+extern bool gf_StopMot; //モーターの強制停止 サーボ全閉
+extern bool gf_FromActiveStat ;//モーターの強制停止 サーボ全閉が動作時に発生したかどうか
extern typPrintFlag gf_Print; //デバッグプリントフラグ(1回表示)
extern typPrintFlag gf_Mon; //デバッグモニタフラグ(繰り返し表示)