Shared header: DEFAULT_* bench values removed (A no longer sends invented data)
Firmware / build (push) Successful in 3m0s
Firmware / build (push) Successful in 3m0s
This commit is contained in:
@@ -772,16 +772,8 @@ static inline char* format_voltage(uint16_t voltage_x100, char* buffer) {
|
||||
return buffer;
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// DEFAULT/TEST VALUES
|
||||
// ============================================================================
|
||||
|
||||
// Default values for testing (before CAN data is available)
|
||||
#define DEFAULT_GEAR_LEVER LEVER_PARK
|
||||
#define DEFAULT_GEARBOX_TEMP 850 // 85.0°C
|
||||
#define DEFAULT_ENGINE_OIL_TEMP 920 // 92.0°C
|
||||
#define DEFAULT_COOLANT_TEMP 890 // 89.0°C
|
||||
#define DEFAULT_BATTERY_VOLTAGE 1245 // 12.45V
|
||||
#define DEFAULT_ALERTS 0x0000 // No alerts
|
||||
// No default / test values: a field is only ever filled from a CAN frame, and
|
||||
// its VALID_FLAG_* bit says so. Removed 2026-09-28 - the bench defaults
|
||||
// (89 / 85 degC, 12.45 V) looked like real readings on Controller B.
|
||||
|
||||
#endif // _AUTOMOTIVE_DATA_H
|
||||
Reference in New Issue
Block a user