Skip to content

Commit 67335e6

Browse files
Use fully qualified names instead of import
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Leandru Martin <122942864+leandrumartin@users.noreply.github.com>
1 parent a374f16 commit 67335e6

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

pi4micronaut-utils/src/main/java/com/opensourcewithslu/outputdevices/ServoMotorHelper.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.opensourcewithslu.outputdevices;
22

3-
import com.pi4j.io.exception.IOException;
43
import com.pi4j.io.pwm.Pwm;
54
import org.slf4j.Logger;
65
import org.slf4j.LoggerFactory;
@@ -34,7 +33,7 @@ public ServoMotorHelper(Pwm servoMotor) {
3433
* Enables the servo motor by starting PWM output at 0% duty cycle and the
3534
* configured servo frequency.
3635
*
37-
* @throws IOException if the underlying PWM implementation cannot start the signal
36+
* @throws com.pi4j.io.exception.IOException if the underlying PWM implementation cannot start the signal
3837
*/
3938
public void enable() {
4039
log.info("Enabling servo motor");
@@ -45,7 +44,7 @@ public void enable() {
4544
/**
4645
* Disables the servo motor and stops PWM output.
4746
*
48-
* @throws IOException if the underlying PWM implementation cannot stop the signal
47+
* @throws com.pi4j.io.exception.IOException if the underlying PWM implementation cannot stop the signal
4948
*/
5049
public void disable() {
5150
log.info("Disabling servo motor");
@@ -72,7 +71,7 @@ float map(float value) {
7271
* </p>
7372
*
7473
* @param angle the target angle for the servo motor, between 0 and 180 degrees.
75-
* @throws IOException if the underlying PWM implementation cannot update the signal
74+
* @throws com.pi4j.io.exception.IOException if the underlying PWM implementation cannot update the signal
7675
*/
7776
public void setAngle(int angle) {
7877
if (!isEnabled) {

0 commit comments

Comments
 (0)