fix invert motor angle metod (#999)
This commit is contained in:
		@@ -597,7 +597,7 @@ namespace motors {
 | 
			
		||||
        //% help=motors/motor/angle
 | 
			
		||||
        angle(): number {
 | 
			
		||||
            this.init();
 | 
			
		||||
            return getMotorData(this._port).count;
 | 
			
		||||
            return getMotorData(this._port).count * this.invertedFactor();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user