arch/arm/src/lpc11 and lpc17: Fix scopy of nameing. CONFIG_CAN_SAM->CONFIG_LPC17_CAN_SAM, for example.
This commit is contained in:
parent
8281dc1ed8
commit
8c3aa99742
@ -196,7 +196,7 @@ config CAN_TSEG2
|
||||
---help---
|
||||
The number of CAN time quanta in segment 2. Default: 7
|
||||
|
||||
config CAN_SAM
|
||||
config LPC11_CAN_SAM
|
||||
bool "CAN sampling"
|
||||
default n
|
||||
---help---
|
||||
|
@ -584,7 +584,7 @@ config CAN_TSEG2
|
||||
---help---
|
||||
The number of CAN time quanta in segment 2. Default: 7
|
||||
|
||||
config CAN_SAM
|
||||
config LPC17_CAN_SAM
|
||||
bool "CAN sampling"
|
||||
default n
|
||||
---help---
|
||||
|
@ -1188,7 +1188,7 @@ static int can_bittiming(struct up_dev_s *priv)
|
||||
((ts2 - 1) << CAN_BTR_TSEG2_SHIFT) |
|
||||
((sjw - 1) << CAN_BTR_SJW_SHIFT));
|
||||
|
||||
#ifdef CONFIG_CAN_SAM
|
||||
#ifdef CONFIG_LPC17_CAN_SAM
|
||||
/* The bus is sampled 3 times (recommended for low to medium speed buses
|
||||
* to spikes on the bus-line).
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user