Skip to content

Commit

Permalink
usbPowerMode is more useful to log and it comes from panda
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed Oct 2, 2019
1 parent 1526784 commit 18a2917
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -317,6 +317,12 @@ struct HealthData {
pedal @4;
uno @5;
}

enum UsbPowerMode {
cdp @0;
dcp @1;
client @2;
}
}

struct LiveUI {
Expand Down

0 comments on commit 18a2917

Please sign in to comment.