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: hbCommand.cpp
- Revision:
- 45:3b51dd26b579
- Parent:
- 43:156199c2f9b6
- Child:
- 48:71aec693a7dc
--- a/hbCommand.cpp Mon Feb 04 10:38:13 2019 +0000 +++ b/hbCommand.cpp Wed Feb 13 11:55:39 2019 +0000 @@ -167,6 +167,10 @@ else if (strcmp(g_CmdBuf , "stat")==0 ){gf_Print.d1.bf.stat=true;}//ステート表示 else if (strcmp(g_CmdBuf , "sstatf")==0 ){setStateF((enmHbState)atoi(&g_CmdBuf[arg2pos]));}//ステート強制遷移 + else if (strcmp(g_CmdBuf , "re" )==0 ){gf_Print.d1.bf.e1=true; gf_Print.d1.bf.e2=true;} + else if (strcmp(g_CmdBuf , "re1" )==0 ){gf_Print.d1.bf.e1=true;} + else if (strcmp(g_CmdBuf , "re2" )==0 ){gf_Print.d1.bf.e2=true;} + else if (strcmp(g_CmdBuf , "sw0")==0 ){gf_SwCmd.bf.req=true;gf_SwCmd.bf.val=0;}//SW 0bit目をON else if (strcmp(g_CmdBuf , "sw1")==0 ){gf_SwCmd.bf.req=true;gf_SwCmd.bf.val=1;}//SW 1bit目をON else if (strcmp(g_CmdBuf , "sw2")==0 ){gf_SwCmd.bf.req=true;gf_SwCmd.bf.val=2;}//SW 2bit目をON