Get word spacing right in morse mode.
Fix a prototype.
This commit is contained in:
parent
52cdb57ae0
commit
365ac18971
@ -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;
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user