dev/sc16is752: Write to right register

This commit is contained in:
Sebastian Huber
2019-08-09 07:45:06 +02:00
parent 4a9a58ea8a
commit da1b4714f5

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