Skip to content

Commit

Permalink
fixes for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellostler committed May 1, 2024
1 parent 8b5a6da commit 1c0cede
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/bms_carrier/src/cell_sense.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ StatusCode cell_sense_run() {
uint16_t min_voltage = 0xffff;

for (size_t cell = 0; cell < (s_afe_settings.num_devices * s_afe_settings.num_cells); cell++) {
LOG_DEBUG("CELL %d: %d\n\r", cell,
LOG_DEBUG("CELL %zu: %d\n\r", cell,
ltc_afe_storage->cell_voltages[ltc_afe_storage->cell_result_lookup[cell]]);
delay_ms(3);
max_voltage =
Expand Down
2 changes: 1 addition & 1 deletion projects/power_distribution/test/test_lights_fsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "task_test_helpers.h"
#include "unity.h"

#define HAZARD_SIGNAL_MSG g_rx_struct.cc_power_control_hazard_enabled
#define HAZARD_SIGNAL_MSG g_rx_struct.cc_info_hazard_enabled
#define STEERING_ANALOG_SIGNAL_MSG g_rx_struct.steering_info_input_lights

void setup_test(void) {
Expand Down

0 comments on commit 1c0cede

Please sign in to comment.