drivers: refactor setting of dir pin in step-dir common
current the dir-pin is getting set each and every time perform_step
is called, this is inefficient, since the direction pin shall be set
only once, when a motion command(move_by/move_to/run) is called.
Signed-off-by:
Jilay Pandya <jilay.pandya@outlook.com>
Loading
Please sign in to comment