arch/arm/src/lpc11 and lpc17: Fix scopy of nameing. CONFIG_CAN_SAM->CONFIG_LPC17_CAN_SAM, for example.

This commit is contained in:
Gregory Nutt 2018-06-28 13:46:35 -06:00
parent 8281dc1ed8
commit 8c3aa99742
3 changed files with 3 additions and 3 deletions

View File

@ -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---

View File

@ -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---

View File

@ -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).
*/