Use the name member to clarify the OSC clock connected to the mcp251x

pull/283/head
Kristian Sloth Lauszus 2021-03-23 00:35:33 +01:00
parent b1312a03f0
commit f11949b7d8
1 changed files with 3 additions and 3 deletions

View File

@ -363,9 +363,9 @@ static struct calc_bittiming_const can_calc_consts[] = {
}, },
.ref_clk = { .ref_clk = {
/* The mcp251x uses half of the external OSC clock as the base clock */ /* The mcp251x uses half of the external OSC clock as the base clock */
{ .clk = 8000000 / 2, }, { .clk = 8000000 / 2, .name = "8 MHz OSC" },
{ .clk = 16000000 / 2, }, { .clk = 16000000 / 2, .name = "16 MHz OSC" },
{ .clk = 20000000 / 2, }, { .clk = 20000000 / 2, .name = "20 MHz OSC" },
}, },
.printf_btr = printf_btr_mcp251x, .printf_btr = printf_btr_mcp251x,
}, { }, {