Rev 574 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 574 | Rev 578 | ||
---|---|---|---|
Line 501... | Line 501... | ||
501 | sprintf(string, "<BL_MaxPWM>%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d</BL_MaxPWM>\r\n",Motor.MaxPWM[0],Motor.MaxPWM[1],Motor.MaxPWM[2],Motor.MaxPWM[3],Motor.MaxPWM[4],Motor.MaxPWM[5],Motor.MaxPWM[6],Motor.MaxPWM[7],Motor.MaxPWM[8],Motor.MaxPWM[9],Motor.MaxPWM[10],Motor.MaxPWM[11]); |
501 | sprintf(string, "<BL_MaxPWM>%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d,%d</BL_MaxPWM>\r\n",Motor.MaxPWM[0],Motor.MaxPWM[1],Motor.MaxPWM[2],Motor.MaxPWM[3],Motor.MaxPWM[4],Motor.MaxPWM[5],Motor.MaxPWM[6],Motor.MaxPWM[7],Motor.MaxPWM[8],Motor.MaxPWM[9],Motor.MaxPWM[10],Motor.MaxPWM[11]); |
502 | fputs_(string, doc->file); |
502 | fputs_(string, doc->file); |
503 | */ sprintf(string, "<AvaiableMotorPower>%03d</AvaiableMotorPower>\r\n",Logging_BL_MinOfMaxPWM); |
503 | */ sprintf(string, "<AvaiableMotorPower>%03d</AvaiableMotorPower>\r\n",Logging_BL_MinOfMaxPWM); |
504 | Logging_BL_MinOfMaxPWM = BL_MinOfMaxPWM; |
504 | Logging_BL_MinOfMaxPWM = BL_MinOfMaxPWM; |
505 | fputs_(string, doc->file); |
505 | fputs_(string, doc->file); |
- | 506 | sprintf(string, "<Gas>%03d,%03d</Gas>\r\n",LoggingGasFilter / LoggingGasCnt,HoverGas); |
|
- | 507 | LoggingGasFilter = 0; LoggingGasCnt=0; |
|
- | 508 | fputs_(string, doc->file); |
|
506 | sprintf(string, "<FC_I2C_ErrorCounter>%03d</FC_I2C_ErrorCounter>\r\n",(s16)FC_I2C_ErrorConter); |
509 | sprintf(string, "<FC_I2C_ErrorCounter>%03d</FC_I2C_ErrorCounter>\r\n",(s16)FC_I2C_ErrorConter); |
507 | fputs_(string, doc->file); |
510 | fputs_(string, doc->file); |
508 | sprintf(string, "<FC_SPI_ErrorCounter>%03d</FC_SPI_ErrorCounter>\r\n",(s16)DebugOut.Analog[12]); |
511 | sprintf(string, "<FC_SPI_ErrorCounter>%03d</FC_SPI_ErrorCounter>\r\n",(s16)DebugOut.Analog[12]); |
509 | fputs_(string, doc->file); |
512 | fputs_(string, doc->file); |
510 | // Analog inputs of the NC |
513 | // Analog inputs of the NC |