修改扳手状态侦测状态机,去掉等待气压恢复状态
authorkyz <kongyuzhong@google.com>
Fri, 16 Jan 2026 03:38:40 +0000 (11:38 +0800)
committerkyz <kongyuzhong@google.com>
Fri, 16 Jan 2026 03:38:40 +0000 (11:38 +0800)
QiDong/System/WrenchManage.c

index 8a538857d8d82ccc7de588ef087baf81329027c0..a09ac4e8b86ae7b9af2ca1f8f750251e93424458 100644 (file)
@@ -207,9 +207,14 @@ static void Machine_DoPress(void)                                     //״̬
        switch(machine_step)
        {
                case 0:  //״̬0£¬ÆøÑ¹µÍµÈ´ýÆøÑ¹»Ö¸´Õý³£×´Ì¬
+#if 1
+                       //¿Í»§·´À¡²»ÐèÒªµÈ´ý»Ö¸´£¬Èç¹ûÆøÑ¹µÍ¾ÍÊÇһֱѭ»·´ò 2026/1/16
+                       Matchine_SetMachine(1);
+#else
                        if( qiya > temppress * compareFac ){
                                Matchine_SetMachine(1);
                        }
+#endif
                        break;
                case 1:
                        if(qiya < (temppress) * compareFac && SleepState == 1 && niujupress == 0 && Adjusting_torque_flag == 1) //°âÊÖ°´Ï  ÕâÀïÈç¹ûÏÖ³¡ÆøÑ¹Ò»Ö±±È½ÏµÍ£¬ÉèÖõÄѹÁ¦Èç¹û¸ß  ¾ÍûÓа취¼ì²âµ½°âÊÖ°´ÏµÄ״̬