From 5827c4e17ef0c6bb3de24f987ca2f5e0fb3f464b Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sun, 2 Apr 2023 12:35:42 -0700 Subject: [PATCH] pandaState: add voltage and current back (#432) --- log.capnp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/log.capnp b/log.capnp index 06cafda..a34a666 100644 --- a/log.capnp +++ b/log.capnp @@ -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 {