Skip to content

Commit

Permalink
133 working prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabramz committed Nov 18, 2024
1 parent fe7b35e commit 331f9dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/Src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ const void print_bms_stats(acc_data_t *acc_data)
{
for(uint8_t cell = 0; cell < NUM_CELLS_PER_CHIP; cell++)
{
printf("%f\t", getVoltage(acc_data->chip_data[c].voltage[cell]));
printf("%d\t", acc_data->chip_data[c].voltage[cell]);
}
printf("\n");
}
Expand Down Expand Up @@ -373,7 +373,7 @@ int main(void)

/* Create the thread(s) */
/* creation of defaultTask */
defaultTaskHandle = osThreadNew(StartDefaultTask, NULL, &defaultTask_attributes);
defaultTaskHandle = osThreadNew(StartDefaultTask, acc_data, &defaultTask_attributes);

/* USER CODE BEGIN RTOS_THREADS */

Expand Down

0 comments on commit 331f9dd

Please sign in to comment.