Change siocn{put,get}c to siogdb{put,get}c to allow a serial console on one
line with serial debugging on another line.
This commit is contained in:
parent
db7ac2451b
commit
e344c90c80
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37822
@ -160,14 +160,14 @@ strcpy (char *dst, const char *src)
|
||||
static int
|
||||
putDebugChar (int c) /* write a single character */
|
||||
{
|
||||
siocnputc (REMOTE_DEV, c);
|
||||
siogdbputc (c);
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int
|
||||
getDebugChar (void) /* read and return a single char */
|
||||
{
|
||||
return siocngetc (REMOTE_DEV);
|
||||
return siogdbgetc ();
|
||||
}
|
||||
|
||||
static const char hexchars[]="0123456789abcdef";
|
||||
|
Loading…
Reference in New Issue
Block a user