bugfix because std::chrono is stupid

This commit is contained in:
AlexandreRouma 2022-07-06 22:32:27 +02:00
parent edf22ccfe8
commit b5857e2078

View File

@ -155,7 +155,7 @@ namespace rds {
// All groups // All groups
std::mutex groupMtx; std::mutex groupMtx;
std::chrono::steady_clock::time_point anyGroupLastUpdate; std::chrono::time_point<std::chrono::high_resolution_clock> anyGroupLastUpdate;
uint8_t countryCode; uint8_t countryCode;
AreaCoverage programCoverage; AreaCoverage programCoverage;
uint8_t programRefNumber; uint8_t programRefNumber;
@ -163,7 +163,7 @@ namespace rds {
ProgramType programType; ProgramType programType;
// Group type 0 // Group type 0
std::chrono::steady_clock::time_point group0LastUpdate; std::chrono::time_point<std::chrono::high_resolution_clock> group0LastUpdate;
bool trafficAnnouncement; bool trafficAnnouncement;
bool music; bool music;
uint8_t decoderIdent; uint8_t decoderIdent;
@ -171,7 +171,7 @@ namespace rds {
std::string programServiceName = " "; std::string programServiceName = " ";
// Group type 2 // Group type 2
std::chrono::steady_clock::time_point group2LastUpdate; std::chrono::time_point<std::chrono::high_resolution_clock> group2LastUpdate;
bool rtAB = false; bool rtAB = false;
std::string radioText = " "; std::string radioText = " ";