File tree Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -826,29 +826,29 @@ void can_free(can_t *obj)
826
826
// This table has the sampling points as close to 75% as possible (most commonly used).
827
827
// The first value is TSEG1, the second TSEG2.
828
828
static const int timing_pts [23 ][2 ] = {
829
- {0x0 , 0x0 }, // 2, 50 %
830
- {0x1 , 0x0 }, // 3, 67 %
831
- {0x2 , 0x0 }, // 4, 75 %
832
- {0x3 , 0x0 }, // 5, 80 %
833
- {0x3 , 0x1 }, // 6, 67 %
834
- {0x4 , 0x1 }, // 7, 71 %
835
- {0x5 , 0x1 }, // 8, 75 %
836
- {0x6 , 0x1 }, // 9, 78 %
837
- {0x6 , 0x2 }, // 10, 70 %
838
- {0x7 , 0x2 }, // 11, 73 %
839
- {0x8 , 0x2 }, // 12, 75 %
840
- {0x9 , 0x2 }, // 13, 77 %
841
- {0x9 , 0x3 }, // 14, 71 %
842
- {0xA , 0x3 }, // 15, 73 %
843
- {0xB , 0x3 }, // 16, 75 %
844
- {0xC , 0x3 }, // 17, 76 %
845
- {0xD , 0x3 }, // 18, 78 %
846
- {0xD , 0x4 }, // 19, 74 %
847
- {0xE , 0x4 }, // 20, 75 %
848
- {0xF , 0x4 }, // 21, 76 %
849
- {0xF , 0x5 }, // 22, 73 %
850
- {0xF , 0x6 }, // 23, 70 %
851
- {0xF , 0x7 }, // 24, 67 %
829
+ {0x0 , 0x0 }, // 2, 67 %
830
+ {0x1 , 0x0 }, // 3, 75 %
831
+ {0x2 , 0x0 }, // 4, 80 %
832
+ {0x2 , 0x1 }, // 5, 67 %
833
+ {0x3 , 0x1 }, // 6, 71 %
834
+ {0x4 , 0x1 }, // 7, 75 %
835
+ {0x4 , 0x2 }, // 8, 67 %
836
+ {0x5 , 0x2 }, // 9, 70 %
837
+ {0x6 , 0x2 }, // 10, 73 %
838
+ {0x7 , 0x2 }, // 11, 75 %
839
+ {0x7 , 0x3 }, // 12, 69 %
840
+ {0x8 , 0x3 }, // 13, 71 %
841
+ {0x9 , 0x3 }, // 14, 73 %
842
+ {0xA , 0x3 }, // 15, 75 %
843
+ {0xA , 0x4 }, // 16, 71 %
844
+ {0xB , 0x4 }, // 17, 72 %
845
+ {0xC , 0x4 }, // 18, 74 %
846
+ {0xD , 0x4 }, // 19, 75 %
847
+ {0xD , 0x5 }, // 20, 71 %
848
+ {0xE , 0x5 }, // 21, 73 %
849
+ {0xF , 0x5 }, // 22, 74 %
850
+ {0xF , 0x6 }, // 23, 71 %
851
+ {0xF , 0x7 }, // 24, 68 %
852
852
};
853
853
854
854
static unsigned int can_speed (unsigned int pclk , unsigned int cclk , unsigned char psjw )
You can’t perform that action at this time.
0 commit comments