kopia lustrzana https://github.com/jamescoxon/dl-fldigi
SKED macro
* Corrected macro editor hints for <SKED:... * Time of execution is specified as HHMMSS where SS is optional and will be substituted as "00" if omitted from the macro text. Time is is Zulu. * Date of exection is specified as YYYYMMDD where YYYY is year, MM month, and DD day.pull/1/head
rodzic
92ab4b6190
commit
1bcc31c5db
|
@ -164,7 +164,7 @@ void loadBrowser(Fl_Widget *widget) {
|
||||||
w->add(_("<TUNE:NN>\ttune signal for NN sec"));
|
w->add(_("<TUNE:NN>\ttune signal for NN sec"));
|
||||||
w->add(_("<WAIT:NN>\tdelay xmt for NN sec"));
|
w->add(_("<WAIT:NN>\tdelay xmt for NN sec"));
|
||||||
w->add(_("<REPEAT>\trepeat macro continuously"));
|
w->add(_("<REPEAT>\trepeat macro continuously"));
|
||||||
w->add(_("<SKED:hhmm[:YYYYDDMM]>\tschedule execution"));
|
w->add(_("<SKED:hhmm[ss][:YYYYMMDD]>\tschedule execution"));
|
||||||
|
|
||||||
w->add(LINE_SEP);
|
w->add(LINE_SEP);
|
||||||
w->add(_("<TXATTEN:nn.n>\t set xmt attenuator"));
|
w->add(_("<TXATTEN:nn.n>\t set xmt attenuator"));
|
||||||
|
|
|
@ -2167,6 +2167,7 @@ static void pSKED(std::string &s, size_t &i, size_t endbracket)
|
||||||
exec_time = data.substr(0, p);
|
exec_time = data.substr(0, p);
|
||||||
exec_date = data.substr(p+1);
|
exec_date = data.substr(p+1);
|
||||||
}
|
}
|
||||||
|
if (exec_time.length() == 4) exec_time.append("00");
|
||||||
timed_exec = true;
|
timed_exec = true;
|
||||||
s.replace(i, endbracket - i + 1, "");
|
s.replace(i, endbracket - i + 1, "");
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue