Get word spacing right in morse mode.

Fix a prototype.
This commit is contained in:
phk 2003-11-03 15:45:42 +00:00
parent 52cdb57ae0
commit 365ac18971
2 changed files with 3 additions and 1 deletions

View File

@ -173,6 +173,8 @@ led_write(dev_t dev, struct uio *uio, int ioflag)
sbuf_cat(sb, "Ac");
else if (*s == ' ')
sbuf_cat(sb, "B");
else if (*s == '\n')
sbuf_cat(sb, "D");
}
sbuf_cat(sb, "J");
break;

View File

@ -16,6 +16,6 @@ __FBSDID("$FreeBSD$");
typedef void led_t(void *, int);
dev_t led_create(led_t *func, void *priv, char const *name);
void led_destroy(dev_t);
void led_destroy(dev_t *dev);
#endif /* _DEV_LED_H */