teamALI / Mbed 2 deprecated HB2018

Dependencies:   mbed FreeRTOS

Revision:
53:b09c062cc31c
Parent:
50:76413e8e073d
Child:
56:f363a6877c6a
diff -r 9a994998607b -r b09c062cc31c hbCommand.cpp
--- 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]);}