From b1312a03f02e287c8caf8348fc363e5662ccf337 Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Tue, 23 Mar 2021 00:20:19 +0100 Subject: [PATCH] Added OSC with a clock of 8 MHz to the mcp251x reference clocks --- can-calc-bit-timing.c | 1 + 1 file changed, 1 insertion(+) diff --git a/can-calc-bit-timing.c b/can-calc-bit-timing.c index 4a79c3c..6d5b6d0 100644 --- a/can-calc-bit-timing.c +++ b/can-calc-bit-timing.c @@ -363,6 +363,7 @@ static struct calc_bittiming_const can_calc_consts[] = { }, .ref_clk = { /* The mcp251x uses half of the external OSC clock as the base clock */ + { .clk = 8000000 / 2, }, { .clk = 16000000 / 2, }, { .clk = 20000000 / 2, }, },