Commit e3e3fec0 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Merge branch '319-fix-flipped-txc-rxc-in-driver' into 'master'

driver: Swap flipped TX, RX Error counter.

Closes #319

See merge request !264
parents b1742887 f82ea868
Pipeline #11582 passed with stage
in 17 seconds
......@@ -384,8 +384,8 @@ void ctu_can_fd_read_err_ctrs(struct ctucanfd_priv *priv,
union ctu_can_fd_rxc_txc reg;
reg.u32 = priv->read_reg(priv, CTU_CAN_FD_RXC);
ctr->txerr = reg.s.rxc_val;
ctr->rxerr = reg.s.txc_val;
ctr->txerr = reg.s.txc_val;
ctr->rxerr = reg.s.rxc_val;
}
enum can_state ctu_can_fd_read_error_state(struct ctucanfd_priv *priv)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment