Skip to content

Commit

Permalink
feat: make acknowledger more sensitive for locos with a slow control …
Browse files Browse the repository at this point in the history
…speed
  • Loading branch information
YoRyan committed Jul 11, 2024
1 parent 2d9a2dc commit 3c6d54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/frp-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export class FrpEngine extends FrpVehicle {
const isOutside = cameraView === VehicleCamera.Outside || cameraView === VehicleCamera.Carriage;
return awsReset || isOutside;
},
() => (this.rv.GetControlValue("AWSReset") as number) > 0.5,
() => (this.rv.GetControlValue("AWSReset") as number) > 0,
cameraView
);
}
Expand Down

0 comments on commit 3c6d54a

Please sign in to comment.