print pump current

This commit is contained in:
Matthew Kennedy 2020-12-11 16:51:03 -08:00
parent 770283accd
commit e383c3575c
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ static void UartThread(void*)
int lambdaIntPart = lambda;
int lambdaThousandths = (lambda - lambdaIntPart) * 1000;
size_t writeCount = chsnprintf(printBuffer, 200, "%d.%03d\t%d\r\n", lambdaIntPart, lambdaThousandths, (int)GetSensorInternalResistance());
size_t writeCount = chsnprintf(printBuffer, 200, "%d.%03d\t%d\t%d\r\n", lambdaIntPart, lambdaThousandths, (int)GetSensorInternalResistance(), (int)(GetPumpNominalCurrent() * 1000));
uartStartSend(&UARTD1, writeCount, printBuffer);
chThdSleepMilliseconds(20);