Skip to content

Commit 3fec01c

Browse files
committed
fix javadoc
1 parent 7943e8a commit 3fec01c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static WPI_TalonSRX createTalon(int id) {
5858
}
5959
/**
6060
* This class returns a SparkBase, initialized to either a SparkMax or SparkFlex depending on the {@link MotorConfig#controllerType}.
61-
* Note that SparkBase lacks some of the functionality of SparkMax and SparkFlex, use {@link MotorControllerFactory#createSparkMax(int, MotorConfig...)} or {@link MotorControllerFactory#createSparkFlex(int...)} to get a SparkMax or SparkFlex object.
61+
* Note that SparkBase lacks some of the functionality of SparkMax and SparkFlex, use {@link MotorControllerFactory#createSparkMax(int, MotorConfig)} or {@link MotorControllerFactory#createSparkFlex(int)} to get a SparkMax or SparkFlex object.
6262
* To use the configAccessor, use {@link MotorControllerFactory#getConfigAccessor(SparkBase)}
6363
*
6464
* @param id the port of the motor controller
@@ -69,7 +69,7 @@ public static SparkBase createSpark(int id, MotorConfig motorConfig) {
6969
}
7070
/**
7171
* This class returns a SparkBase, initialized to either a SparkMax or SparkFlex depending on the {@link MotorConfig#controllerType}.
72-
* Note that SparkBase lacks some of the functionality of SparkMax and SparkFlex, use {@link MotorControllerFactory#createSparkMax(int, MotorConfig...)} or {@link MotorControllerFactory#createSparkFlex(int, MotorConfig...)} to get a SparkMax or SparkFlex object.
72+
* Note that SparkBase lacks some of the functionality of SparkMax and SparkFlex, use {@link MotorControllerFactory#createSparkMax(int, MotorConfig, SparkBaseConfig)} or {@link MotorControllerFactory#createSparkFlex(int, MotorConfig, SparkBaseConfig)} to get a SparkMax or SparkFlex object.
7373
* To use the configAccessor, use {@link MotorControllerFactory#getConfigAccessor(SparkBase)}
7474
*
7575
* @param id the port of the motor controller

0 commit comments

Comments
 (0)