diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2022-06-11 19:37:30 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2022-06-27 10:50:23 -0400 |
commit | c8cc98ce5dce3771cf2728eee7b1bdb026504f75 (patch) | |
tree | 9a381181998d1a33c39b2c9c16697c5a9e038f90 /src/Kconfig | |
parent | 11828387d93f1f68107858d98fc81e2e29b5edf6 (diff) | |
download | kutter-c8cc98ce5dce3771cf2728eee7b1bdb026504f75.tar.gz kutter-c8cc98ce5dce3771cf2728eee7b1bdb026504f75.tar.xz kutter-c8cc98ce5dce3771cf2728eee7b1bdb026504f75.zip |
canserial: Rename canbus.c to canserial.c
Rename the canbus.c code to canserial.c and introduce new wrapper
functions in canbus.c that connect the low-level canbus hardware code
to the high-level canserial.c code.
This is in preparation for adding "usb to canbus bridge mode".
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Kconfig b/src/Kconfig index 79cb4182..921370f6 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -80,8 +80,11 @@ endmenu # Generic configuration options for CANbus config CANSERIAL bool +config CANBUS + bool + default y if CANSERIAL config CANBUS_FREQUENCY - int "CAN bus speed" if LOW_LEVEL_OPTIONS && CANSERIAL + int "CAN bus speed" if LOW_LEVEL_OPTIONS && CANBUS default 500000 config CANBUS_FILTER bool |