Added OSC with a clock of 8 MHz to the mcp251x reference clocks

This commit is contained in:
Kristian Sloth Lauszus
2021-03-23 00:20:19 +01:00
parent 890dcc4735
commit b1312a03f0
+1
View File
@@ -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, },
},