forgot to monitor shutdown button on morse code mode
This commit is contained in:
parent
807d414c81
commit
342f418a3a
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: lambd.c,v 1.3 2001/07/19 20:23:43 itojun Exp $ */
|
/* $NetBSD: lambd.c,v 1.4 2001/07/19 20:29:08 itojun Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2001 WIDE Project. All rights reserved.
|
* Copyright (C) 2001 WIDE Project. All rights reserved.
|
||||||
|
@ -291,6 +291,9 @@ morse()
|
||||||
unsigned long t = delay / 10;
|
unsigned long t = delay / 10;
|
||||||
|
|
||||||
for (p = morsestr; *p; p++) {
|
for (p = morsestr; *p; p++) {
|
||||||
|
if (monitor())
|
||||||
|
return 1;
|
||||||
|
|
||||||
if (isdigit(*p))
|
if (isdigit(*p))
|
||||||
q = digit[*p - '0'];
|
q = digit[*p - '0'];
|
||||||
else if (isalpha(*p) && isupper(*p))
|
else if (isalpha(*p) && isupper(*p))
|
||||||
|
|
Loading…
Reference in a new issue