* 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
David Freese 2014-01-31 12:55:10 -06:00
rodzic 92ab4b6190
commit 1bcc31c5db
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -164,7 +164,7 @@ void loadBrowser(Fl_Widget *widget) {
w->add(_("<TUNE:NN>\ttune signal for NN sec"));
w->add(_("<WAIT:NN>\tdelay xmt for NN sec"));
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(_("<TXATTEN:nn.n>\t set xmt attenuator"));

Wyświetl plik

@ -2167,6 +2167,7 @@ static void pSKED(std::string &s, size_t &i, size_t endbracket)
exec_time = data.substr(0, p);
exec_date = data.substr(p+1);
}
if (exec_time.length() == 4) exec_time.append("00");
timed_exec = true;
s.replace(i, endbracket - i + 1, "");
}