Skip to content

Commit 410f728

Browse files
committed
Fix bug in AnalogJoystickInput constructor
1 parent 4a2dada commit 410f728

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/common/InputHardware.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,8 +854,6 @@ AnalogJoystickInput::AnalogJoystickInput(
854854
this->up = up;
855855
this->down = down;
856856
}
857-
this->up = up;
858-
this->down = down;
859857

860858
// Precompute minimum/maximum ADC readings for each axis
861859
if (xDeadZone > 127)

0 commit comments

Comments
 (0)