call an detector
This commit is contained in:
@@ -19,6 +19,10 @@ public:
|
|||||||
value = v;
|
value = v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void call() {
|
||||||
|
for (size_t i = 0; i < MaxObservers; ++i) seen[i] = false;
|
||||||
|
}
|
||||||
|
|
||||||
bool changed(size_t id) {
|
bool changed(size_t id) {
|
||||||
if (id >= MaxObservers) return false;
|
if (id >= MaxObservers) return false;
|
||||||
if (!seen[id]) {
|
if (!seen[id]) {
|
||||||
|
|||||||
+24
@@ -2992,6 +2992,18 @@ void BuildAdvancedRDS() {
|
|||||||
eonDisplay.reset();
|
eonDisplay.reset();
|
||||||
eccDisplay.reset();
|
eccDisplay.reset();
|
||||||
rtDisplay.reset();
|
rtDisplay.reset();
|
||||||
|
radio.rds.PTY.call();
|
||||||
|
radio.rds.PTYN.call();
|
||||||
|
radio.rds.ECC.call();
|
||||||
|
radio.rds.hasArtificialhead.call();
|
||||||
|
radio.rds.hasCompressed.call();
|
||||||
|
radio.rds.hasStereo.call();
|
||||||
|
radio.rds.TP.call();
|
||||||
|
radio.rds.TA.call();
|
||||||
|
radio.rds.hasEON.call();
|
||||||
|
radio.rds.hasTMC.call();
|
||||||
|
radio.rds.hasCT.call();
|
||||||
|
radio.rds.hasRTplus.call();
|
||||||
}
|
}
|
||||||
|
|
||||||
void BuildDisplay() {
|
void BuildDisplay() {
|
||||||
@@ -3109,6 +3121,18 @@ void BuildDisplay() {
|
|||||||
eonDisplay.reset();
|
eonDisplay.reset();
|
||||||
eccDisplay.reset();
|
eccDisplay.reset();
|
||||||
rtDisplay.reset();
|
rtDisplay.reset();
|
||||||
|
radio.rds.PTY.call();
|
||||||
|
radio.rds.PTYN.call();
|
||||||
|
radio.rds.ECC.call();
|
||||||
|
radio.rds.hasArtificialhead.call();
|
||||||
|
radio.rds.hasCompressed.call();
|
||||||
|
radio.rds.hasStereo.call();
|
||||||
|
radio.rds.TP.call();
|
||||||
|
radio.rds.TA.call();
|
||||||
|
radio.rds.hasEON.call();
|
||||||
|
radio.rds.hasTMC.call();
|
||||||
|
radio.rds.hasCT.call();
|
||||||
|
radio.rds.hasRTplus.call();
|
||||||
xPos = 0;
|
xPos = 0;
|
||||||
xPos2 = 0;
|
xPos2 = 0;
|
||||||
MPold = 99;
|
MPold = 99;
|
||||||
|
|||||||
Reference in New Issue
Block a user