mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
[wpilib] Rename private constants to all caps
This commit is contained in:
@@ -63,7 +63,7 @@ class Tracer {
|
||||
void PrintEpochs(wpi::util::raw_ostream& os);
|
||||
|
||||
private:
|
||||
static constexpr std::chrono::milliseconds kMinPrintPeriod{1000};
|
||||
static constexpr std::chrono::milliseconds MIN_PRINT_PERIOD{1000};
|
||||
|
||||
wpi::hal::monotonic_clock::time_point m_startTime;
|
||||
wpi::hal::monotonic_clock::time_point m_lastEpochsPrintTime;
|
||||
|
||||
@@ -112,7 +112,7 @@ class Watchdog {
|
||||
|
||||
private:
|
||||
// Used for timeout print rate-limiting
|
||||
static constexpr auto kMinPrintPeriod = 1_s;
|
||||
static constexpr auto MIN_PRINT_PERIOD = 1_s;
|
||||
|
||||
wpi::units::second_t m_startTime = 0_s;
|
||||
wpi::units::second_t m_timeout;
|
||||
|
||||
Reference in New Issue
Block a user