stop motor

def stop_motor(self):
        '''stop motor'''
        if not self.valid_starter_settings():
            return
        self.motor_t1 = time.time()
        self.starting_motor = False
        self.stopping_motor = True
        self.old_override = self.module('rc').get_override_chan(self.gasheli_settings.ignition_chan-1)
        self.module('rc').set_override_chan(self.gasheli_settings.ignition_chan-1, 1000)
        print("Stopping motor")