Receive hydraulic pressure from ABX
This commit is contained in:
@ -88,7 +88,7 @@ void AMIView::setIniChkState(IniChkState state) {
|
||||
}
|
||||
progressBar.invalidate();
|
||||
|
||||
const char *label;
|
||||
const char *label = "UNKNOWN";
|
||||
switch (vehicle_state.ini_chk_state) {
|
||||
case INICHK_START:
|
||||
label = "START";
|
||||
@ -128,9 +128,8 @@ void AMIView::setIniChkState(IniChkState state) {
|
||||
}
|
||||
|
||||
void AMIView::updateDataFields() {
|
||||
// TODO: Accumulator pressures aren't transmitted yet
|
||||
paField.setValue(0);
|
||||
pbField.setValue(0);
|
||||
paField.setValue(vehicle_state.hyd_press_a);
|
||||
pbField.setValue(vehicle_state.hyd_press_b);
|
||||
pfField.setValue(vehicle_state.brake_press_f);
|
||||
prField.setValue(vehicle_state.brake_press_r);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user