Updated uart_is_done to match the uart rewrite.