dev/sc16is752: Write to right register

This commit is contained in:
Sebastian Huber
2019-08-26 07:24:43 +02:00
parent 4a9a58ea8a
commit da1b4714f5
+1 -1
View File
@@ -241,7 +241,7 @@ static bool sc16is752_first_open(
}
ctx->efcr = efcr;
write_reg(ctx, SC16IS752_FCR, &ctx->efcr, 1);
write_reg(ctx, SC16IS752_EFCR, &ctx->efcr, 1);
fcr = SC16IS752_FCR_FIFO_EN
| SC16IS752_FCR_RX_FIFO_RST