Skip to content

Commit

Permalink
Fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
viggy96 committed Dec 13, 2023
1 parent a839359 commit 1e306a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/lasarobotics/hardware/SparkMax.java
Original file line number Diff line number Diff line change
Expand Up @@ -588,9 +588,9 @@ public void stopMotor() {
*
* @return {@link REVLibError#kOk} if successful
*/
public void restoreFactoryDefaults() {
public REVLibError restoreFactoryDefaults() {
m_spark.restoreFactoryDefaults();
burnFlash();
return burnFlash();
}

/**
Expand Down

0 comments on commit 1e306a8

Please sign in to comment.