drivers: can: common: add missing static for sample_point_for_bitrate()
Add missing static keyword for internal function sample_point_for_bitrate(). Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
8cba27aab3
commit
9dc9f0a0fd
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ int can_calc_prescaler(const struct device *dev, struct can_timing *timing,
|
||||||
* @param bitrate The bitrate in bits/second.
|
* @param bitrate The bitrate in bits/second.
|
||||||
* @return The sample point in permille.
|
* @return The sample point in permille.
|
||||||
*/
|
*/
|
||||||
uint16_t sample_point_for_bitrate(uint32_t bitrate)
|
static uint16_t sample_point_for_bitrate(uint32_t bitrate)
|
||||||
{
|
{
|
||||||
uint16_t sample_pnt;
|
uint16_t sample_pnt;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue