/* Get the newest character in the CLI FIFO.  */
void cli_get_last_character(struct cli_desc *dev, uint8_t *new_char)
/* Get the newest character in the CLI FIFO.  */
void cli_get_last_character(struct cli_desc *dev, uint8_t *new_char)
{
	if (!uart_line_index)
		return;
	*new_char = uart_current_line[(uart_line_index - 1)];
}