File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ char *log_dsd::get_filename() {
141
141
return filename;
142
142
}
143
143
144
- long log_dsd::timeout () {
144
+ long log_dsd::timeleft () {
145
145
return time (NULL ) - timestamp;
146
146
}
147
147
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class log_dsd : public gr_hier_block2
60
60
void deactivate ();
61
61
float get_freq ();
62
62
long get_talkgroup ();
63
- long timeout ();
63
+ long timeleft ();
64
64
long elapsed ();
65
65
void close ();
66
66
void mute ();
Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ float parse_message(string s) {
383
383
for (vector<log_dsd_sptr>::iterator it = active_loggers.begin (); it != active_loggers.end ();) {
384
384
log_dsd_sptr rx = *it;
385
385
386
- if (rx->timeout () > 5.0 ) {
386
+ if (rx->timeleft () > 5.0 ) {
387
387
388
388
389
389
for (std::vector<Talkgroup *>::iterator tg_it = active_tg.begin (); tg_it != active_tg.end (); ++tg_it) {
You can’t perform that action at this time.
0 commit comments