Skip to content

Commit 18a2917

Browse files
committed
usbPowerMode is more useful to log and it comes from panda
1 parent 1526784 commit 18a2917

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

log.capnp

+7-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ struct HealthData {
307307
gmlanSendErrs @9 :UInt32;
308308
hwType @10 :HwType;
309309
fanSpeedRpm @11 :UInt16;
310-
usbPower @12 :Bool;
310+
usbPowerMode @12 :UsbPowerMode;
311311

312312
enum HwType {
313313
unknown @0;
@@ -317,6 +317,12 @@ struct HealthData {
317317
pedal @4;
318318
uno @5;
319319
}
320+
321+
enum UsbPowerMode {
322+
cdp @0;
323+
dcp @1;
324+
client @2;
325+
}
320326
}
321327

322328
struct LiveUI {

0 commit comments

Comments
 (0)