This commit is contained in:
rusefillc 2022-06-25 00:24:15 -04:00
parent 9c349cbf94
commit 6aaa1d713a
1 changed files with 1 additions and 3 deletions

View File

@ -21,6 +21,7 @@ static const UARTConfig uartCfg =
.cr1 = 0,
.cr2 = 0,
.cr3 = 0,
.rxhalf_cb = nullptr,
};
static char printBuffer[200];
@ -30,9 +31,6 @@ static void UartThread(void*)
{
while(true)
{
float lambda = 0;
int lambdaIntPart = 1;
int lambdaThousandths = 2;
size_t writeCount = chsnprintf(printBuffer, 200, "%d.%03d\t%d\t%d\r\n", 0, 0, 0, 100);
uartStartSend(&UARTD1, writeCount, printBuffer);