subsys/debug/gdb_server.c
/*
 * Turn a one-byte value into two hex characters and write them to the buffer.
 * Return the next position in the buffer.
 */
Turn a one-byte value into two hex characters and write them to the buffer.
Return the next position in the buffer.
Turn a one - byte value into two hex characters and write them to the buffer . Return the next position in the buffer .
static unsigned char *put_hex_byte(unsigned char *buf, int value)
{
	*buf++ = hex_chars[value >> 4];
	*buf++ = hex_chars[value & 0xf];
	return buf;
}
static unsigned char * put_hex_byte ( unsigned char * buf , int value ) { * buf ++ = hex_chars [ value >> 4 ] ; * buf ++ = hex_chars [ value & 0xf ] ; return buf ; }
Turn a one-byte value into two hex characters and write them to the buffer.
Turn a one - byte value into two hex characters and write them to the buffer .