console_fix: fix builds
@@ -89,7 +89,7 @@ console_queue_char(struct uart_dev *uart_dev, uint8_t ch)
{
int sr;
- if ((uart_dev->ud_dev->od_flags & OS_DEV_F_STATUS_OPEN) == 0) {
+ if ((uart_dev->ud_dev.od_flags & OS_DEV_F_STATUS_OPEN) == 0) {
return;
}
