Ye Jin 5 ヶ月 前
コミット
6a566de60e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      User project/3.BasicFunction/Source/giant_can.c

+ 1 - 1
User project/3.BasicFunction/Source/giant_can.c

@@ -556,7 +556,7 @@ void giant_SendDriveChainActiveData(UBYTE functiongroup, UBYTE dataaddr)
         case 0x0:       //Error
         {
             len = 2;
-            if(0)
+            if(MC_ErrorCode.Code > 0)
             {
                 data[0] |= 0x01;// Corresponding error occurs
             }