Skip to content

Commit

Permalink
add comments to baseSparkXConfig methods
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedLongJohns committed Feb 11, 2025
1 parent dbfca96 commit a7a4b9b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,11 @@ private static SparkBaseConfig baseSparkConfig(MotorConfig motorConfig) {
return config;
}
private static SparkMaxConfig baseSparkMaxConfig(MotorConfig motorConfig){
//typical operating voltage: 12V.
return (SparkMaxConfig) baseSparkConfig(motorConfig);//FIXME apply needed config changes for each controller
}
private static SparkFlexConfig baseSparkFlexConfig(MotorConfig motorConfig){
//typical operating voltage: 12V. ( same as sparkMax )
return (SparkFlexConfig) baseSparkConfig(motorConfig);//criminal casting usage
}

Expand Down

0 comments on commit a7a4b9b

Please sign in to comment.