Skip to content

Commit

Permalink
Continuously update sbu in panda health
Browse files Browse the repository at this point in the history
  • Loading branch information
Comma Device committed Feb 4, 2024
1 parent 20722a5 commit 0b4a1ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions board/main_comms.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ int get_health_pkt(void *dat) {
health->fan_power = fan_state.power;
health->fan_stall_count = fan_state.total_stall_count;

health->sbu1_voltage_mV = harness.sbu1_voltage_mV;
health->sbu2_voltage_mV = harness.sbu2_voltage_mV;
health->sbu1_voltage_mV = adc_get_mV(current_board->harness_config->adc_channel_SBU1);
health->sbu2_voltage_mV = adc_get_mV(current_board->harness_config->adc_channel_SBU2);

health->som_reset_triggered = bootkick_reset_triggered;

Expand Down

0 comments on commit 0b4a1ff

Please sign in to comment.