panda sound output level (#37408)

parse sound output level
This commit is contained in:
Robbe Derks
2026-02-25 19:29:55 -08:00
committed by GitHub
parent c2a7437972
commit 5c630b20a9
3 changed files with 3 additions and 1 deletions

View File

@@ -592,6 +592,7 @@ struct PandaState @0xa7649e2575e4591e {
harnessStatus @21 :HarnessStatus;
sbu1Voltage @35 :Float32;
sbu2Voltage @36 :Float32;
soundOutputLevel @37 :UInt16;
# can health
canState0 @29 :PandaCanState;

2
panda

Submodule panda updated: 49f72e931f...3ffe9591a7

View File

@@ -130,6 +130,7 @@ void fill_panda_state(cereal::PandaState::Builder &ps, cereal::PandaState::Panda
ps.setSpiErrorCount(health.spi_error_count_pkt);
ps.setSbu1Voltage(health.sbu1_voltage_mV / 1000.0f);
ps.setSbu2Voltage(health.sbu2_voltage_mV / 1000.0f);
ps.setSoundOutputLevel(health.sound_output_level_pkt);
}
void fill_panda_can_state(cereal::PandaState::PandaCanState::Builder &cs, const can_health_t &can_health) {