Skip to content

Commit 77a7607

Browse files
committed
update panda::PANDA_HEALTH type def
1 parent fae57ae commit 77a7607

File tree

1 file changed

+13
-3
lines changed
  • drivers/windows/panda_shared

1 file changed

+13
-3
lines changed

drivers/windows/panda_shared/panda.h

+13-3
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,23 @@ namespace panda {
7878

7979
#pragma pack(1)
8080
typedef struct _PANDA_HEALTH {
81+
uint32_t uptime;
8182
uint32_t voltage;
8283
uint32_t current;
83-
uint8_t started;
84+
uint32_t can_rx_errs;
85+
uint32_t can_send_errs;
86+
uint32_t can_fwd_errs;
87+
uint32_t gmlan_send_errs;
88+
uint32_t faults;
89+
uint8_t ignition_line;
90+
uint8_t ignition_can;
8491
uint8_t controls_allowed;
8592
uint8_t gas_interceptor_detected;
86-
uint8_t started_signal_detected;
87-
uint8_t started_alt;
93+
uint8_t car_harness_status;
94+
uint8_t usb_power_mode;
95+
uint8_t safety_mode;
96+
uint8_t fault_status;
97+
uint8_t power_save_enabled;
8898
} PANDA_HEALTH, *PPANDA_HEALTH;
8999

90100
typedef struct _PANDA_CAN_MSG {

0 commit comments

Comments
 (0)