pandaState: add voltage and current back (#432)

This commit is contained in:
Adeeb Shihadeh
2023-04-02 12:35:42 -07:00
committed by GitHub
parent 5646788a40
commit 5827c4e17e

View File

@@ -428,6 +428,9 @@ struct PandaState @0xa7649e2575e4591e {
alternativeExperience @23 :Int16;
safetyRxChecksInvalid @32 :Bool;
voltage @0 :UInt32;
current @1 :UInt32;
enum FaultStatus {
none @0;
faultTemp @1;
@@ -483,15 +486,6 @@ struct PandaState @0xa7649e2575e4591e {
flipped @2;
}
startedSignalDetectedDEPRECATED @5 :Bool;
voltageDEPRECATED @0 :UInt32;
currentDEPRECATED @1 :UInt32;
hasGpsDEPRECATED @6 :Bool;
fanSpeedRpmDEPRECATED @11 :UInt16;
usbPowerModeDEPRECATED @12 :PeripheralState.UsbPowerModeDEPRECATED;
safetyParamDEPRECATED @20 :Int16;
safetyParam2DEPRECATED @26 :UInt32;
struct PandaCanState {
busOff @0 :Bool;
busOffCnt @1 :UInt32;
@@ -526,6 +520,13 @@ struct PandaState @0xa7649e2575e4591e {
noChange @7;
}
}
startedSignalDetectedDEPRECATED @5 :Bool;
hasGpsDEPRECATED @6 :Bool;
fanSpeedRpmDEPRECATED @11 :UInt16;
usbPowerModeDEPRECATED @12 :PeripheralState.UsbPowerModeDEPRECATED;
safetyParamDEPRECATED @20 :Int16;
safetyParam2DEPRECATED @26 :UInt32;
}
struct PeripheralState {