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:
- 53:b09c062cc31c
- Parent:
- 50:76413e8e073d
- Child:
- 56:f363a6877c6a
--- a/hbCommand.cpp Tue Feb 26 09:50:10 2019 +0000 +++ b/hbCommand.cpp Mon Mar 04 04:03:23 2019 +0000 @@ -63,6 +63,10 @@ else if (strcmp(g_CmdBuf , "seh2" )==0 ){gf_AxReqH[1].bf.req=true; gf_AxReqH[1].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} else if (strcmp(g_CmdBuf , "ses1" )==0 ){gf_AxStepReq[0].bf.req=true; gf_AxStepReq[0].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} else if (strcmp(g_CmdBuf , "ses2" )==0 ){gf_AxStepReq[1].bf.req=true; gf_AxStepReq[1].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} + else if (strcmp(g_CmdBuf , "seas" )==0 ){ gf_AxAdjStepReq[0].bf.req=true; gf_AxAdjStepReq[0].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]); + gf_AxAdjStepReq[1].bf.req=true; gf_AxAdjStepReq[1].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} + else if (strcmp(g_CmdBuf , "seas1" )==0 ){gf_AxAdjStepReq[0].bf.req=true; gf_AxAdjStepReq[0].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} + else if (strcmp(g_CmdBuf , "seas2" )==0 ){gf_AxAdjStepReq[1].bf.req=true; gf_AxAdjStepReq[1].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} else if (strcmp(g_CmdBuf , "sm1" )==0 ){gf_MtReq[0].req=true; gf_MtReq[0].val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} else if (strcmp(g_CmdBuf , "sm2" )==0 ){gf_MtReq[1].req=true; gf_MtReq[1].val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} else if (strcmp(g_CmdBuf , "sm3" )==0 ){gf_MtReq[2].req=true; gf_MtReq[2].val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} @@ -199,6 +203,10 @@ else if (strcmp(g_CmdBuf , "ses1" )==0 ){gf_AxStepReq[0].bf.req=true; gf_AxStepReq[0].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} else if (strcmp(g_CmdBuf , "ses2" )==0 ){gf_AxStepReq[1].bf.req=true; gf_AxStepReq[1].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} + else if (strcmp(g_CmdBuf , "seas" )==0 ){ gf_AxAdjStepReq[0].bf.req=true; gf_AxAdjStepReq[0].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]); + gf_AxAdjStepReq[1].bf.req=true; gf_AxAdjStepReq[1].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} + else if (strcmp(g_CmdBuf , "seas1" )==0 ){gf_AxAdjStepReq[0].bf.req=true; gf_AxAdjStepReq[0].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} + else if (strcmp(g_CmdBuf , "seas2" )==0 ){gf_AxAdjStepReq[1].bf.req=true; gf_AxAdjStepReq[1].bf.val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} else if (strcmp(g_CmdBuf , "sm1" )==0 ){gf_MtReq[0].req=true; gf_MtReq[0].val=(UINT16)atoi(&g_CmdBuf[arg2pos]);} else if (strcmp(g_CmdBuf , "sm2" )==0 ){gf_MtReq[1].req=true; gf_MtReq[1].val=(UINT16)atoi(&g_CmdBuf[arg2pos]);}