diff --git a/src/server/services/Servo.js b/src/server/services/Servo.js index 3e971e1..9b6102e 100644 --- a/src/server/services/Servo.js +++ b/src/server/services/Servo.js @@ -56,6 +56,7 @@ class ServoService { moveRight() { if (this.position <= servo.pos.right) { + this.logService.log('fail', `[Services.Servo] Max servo position, not executing to prevent damage!`); return; } @@ -67,6 +68,7 @@ class ServoService { moveLeft() { if (this.position >= servo.pos.left) { + this.logService.log('fail', `[Services.Servo] Max servo position, not executing to prevent damage!`); return; }