found reversed code

found reversed pragma for motor