usbPowerMode is more useful to log and it comes from panda

This commit is contained in:
Riccardo
2019-10-01 22:52:53 -07:00
parent 1526784290
commit 18a2917798

View File

@@ -307,7 +307,7 @@ struct HealthData {
gmlanSendErrs @9 :UInt32;
hwType @10 :HwType;
fanSpeedRpm @11 :UInt16;
usbPower @12 :Bool;
usbPowerMode @12 :UsbPowerMode;
enum HwType {
unknown @0;
@@ -317,6 +317,12 @@ struct HealthData {
pedal @4;
uno @5;
}
enum UsbPowerMode {
cdp @0;
dcp @1;
client @2;
}
}
struct LiveUI {