bug? home_to_min and home_to_max send the actuator in the same direction

Hello,

alpha_homing_direction home_to_min
and
alpha_homing_direction home_to_max
make the actuator moves in the same direction

Do you have any explantation?
I correctly set the endstop whne i change the homing direction but nothing changes. the homing is always to max.
any idea??

thank you

Imported from wikidot