IQ.Pilot Release Commit @ 0809b59

This commit is contained in:
IQ.Lvbs CI [bot]
2026-07-30 19:40:36 -05:00
parent c7908ad2e0
commit a6c27ac169
228 changed files with 11183 additions and 11691 deletions

View File

@@ -4,15 +4,12 @@
#define HARNESS_STATUS_NORMAL 1U
#define HARNESS_STATUS_FLIPPED 2U
// orientation sampling runs in thread context and shares this state with
// interrupt handlers, so the fields are volatile
struct harness_t {
volatile uint8_t status;
volatile uint16_t sbu1_voltage_mV;
volatile uint16_t sbu2_voltage_mV;
volatile bool ignition_line;
volatile bool relay_driven;
volatile bool sbu_adc_lock;
uint8_t status;
uint16_t sbu1_voltage_mV;
uint16_t sbu2_voltage_mV;
bool relay_driven;
bool sbu_adc_lock;
};
extern struct harness_t harness;