Browse Source

BoardConfig: set slcan can port to 0 as default

This is to ensure that can bus filters are actually used
master
Siddharth Purohit 6 years ago committed by Andrew Tridgell
parent
commit
1cd8e0e237
  1. 2
      libraries/AP_BoardConfig/canbus_slcan.cpp

2
libraries/AP_BoardConfig/canbus_slcan.cpp

@ -25,7 +25,7 @@ const AP_Param::GroupInfo AP_BoardConfig_CAN::SLCAN_Interface::var_info[] = { @@ -25,7 +25,7 @@ const AP_Param::GroupInfo AP_BoardConfig_CAN::SLCAN_Interface::var_info[] = {
// @Values: 0:Disabled,1:First driver,2:Second driver
// @User: Standard
// @RebootRequired: True
AP_GROUPINFO("CPORT", 1, AP_BoardConfig_CAN::SLCAN_Interface, _can_port, 1),
AP_GROUPINFO("CPORT", 1, AP_BoardConfig_CAN::SLCAN_Interface, _can_port, 0),
// @Param: SERNUM
// @DisplayName: SLCAN Serial Port

Loading…
Cancel
Save