Rename DateTicksScaled to StateTicks

Rename various other related/derived types and variables
This commit is contained in:
Jonathan G Rennison
2024-02-07 18:36:47 +00:00
parent 39b4772a34
commit 0ea57528c9
39 changed files with 270 additions and 270 deletions

View File

@@ -36,12 +36,12 @@ struct SignalSpeedKey {
struct SignalSpeedValue {
uint16_t train_speed;
DateTicksScaled time_stamp;
StateTicks time_stamp;
/** Checks if the timeout has passed */
bool IsOutOfDate() const
{
return _scaled_date_ticks > this->time_stamp;
return _state_ticks > this->time_stamp;
}
};