mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-21 03:12:58 +02:00
change ptt intlock to ptt inter (intlock is ambiguous)
git-svn-id: file:///home/jj/hercules.svn/trunk@5226 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
2
cmdtab.h
2
cmdtab.h
@@ -147,7 +147,7 @@ COMMAND ( "ptt", PANEL+CONFIG, EXT_CMD(ptt_cmd),
|
||||
" (no)instr - instruction information trace\n"
|
||||
" (no)error - instruction error trace\n"
|
||||
" (no)prog - program interrupt trace\n"
|
||||
" (no)intlock - interlock failure trace\n"
|
||||
" (no)inter - interlock failure trace\n"
|
||||
" (no)timer - timer trace\n"
|
||||
" (no)threads - thread trace\n"
|
||||
" (no)logger - logger trace\n"
|
||||
|
||||
@@ -129,12 +129,12 @@ DLL_EXPORT int ptt_cmd(int argc, char *argv[], char* cmdline)
|
||||
pttclass &= ~PTT_CL_PGM;
|
||||
continue;
|
||||
}
|
||||
else if (strcasecmp("intlock", argv[0]) == 0)
|
||||
else if (strcasecmp("inter", argv[0]) == 0)
|
||||
{
|
||||
pttclass |= PTT_CL_CSF;
|
||||
continue;
|
||||
}
|
||||
else if (strcasecmp("nointlock", argv[0]) == 0)
|
||||
else if (strcasecmp("nointer", argv[0]) == 0)
|
||||
{
|
||||
pttclass &= ~PTT_CL_CSF;
|
||||
continue;
|
||||
@@ -264,7 +264,7 @@ DLL_EXPORT int ptt_cmd(int argc, char *argv[], char* cmdline)
|
||||
(pttclass & PTT_CL_INF) ? "instr " : "",
|
||||
(pttclass & PTT_CL_ERR) ? "error " : "",
|
||||
(pttclass & PTT_CL_PGM) ? "prog " : "",
|
||||
(pttclass & PTT_CL_CSF) ? "intlock " : "",
|
||||
(pttclass & PTT_CL_CSF) ? "inter " : "",
|
||||
(pttclass & PTT_CL_TMR) ? "timer " : "",
|
||||
(pttclass & PTT_CL_THR) ? "threads " : "",
|
||||
(pttclass & PTT_CL_LOG) ? "logger " : "",
|
||||
|
||||
Reference in New Issue
Block a user