Skip to content

Commit

Permalink
aint no way they deprecated the thing i made yesterday
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-Cushman committed Jan 5, 2025
1 parent 9f34744 commit 7e00fe8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package frc.robot.util.custom;

import org.littletonrobotics.junction.networktables.LoggedDashboardNumber;
import org.littletonrobotics.junction.networktables.LoggedNetworkNumber;

import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.button.Trigger;

public class LoggedTunableConstant extends LoggedDashboardNumber {
public class LoggedTunableConstant extends LoggedNetworkNumber {

private double previousValue;

public LoggedTunableConstant(String key, double defaultValue) {
super("Constants/" + key, defaultValue);
super("Tunable/Constants/" + key, defaultValue);
this.previousValue = defaultValue;
}

Expand Down

0 comments on commit 7e00fe8

Please sign in to comment.