mirror of https://github.com/ArduPilot/ardupilot
SRV_Channel: remove ToshibaCAN support
This commit is contained in:
parent
85b9e6e57c
commit
2a264b0331
|
@ -30,7 +30,6 @@
|
|||
#if APM_BUILD_COPTER_OR_HELI || APM_BUILD_TYPE(APM_BUILD_ArduPlane) || APM_BUILD_TYPE(APM_BUILD_ArduSub)
|
||||
#include <AP_KDECAN/AP_KDECAN.h>
|
||||
#endif
|
||||
#include <AP_ToshibaCAN/AP_ToshibaCAN.h>
|
||||
#include <AP_PiccoloCAN/AP_PiccoloCAN.h>
|
||||
#endif
|
||||
|
||||
|
@ -556,14 +555,6 @@ void SRV_Channels::push()
|
|||
#endif
|
||||
break;
|
||||
}
|
||||
case AP_CANManager::Driver_Type_ToshibaCAN: {
|
||||
AP_ToshibaCAN *ap_tcan = AP_ToshibaCAN::get_tcan(i);
|
||||
if (ap_tcan == nullptr) {
|
||||
continue;
|
||||
}
|
||||
ap_tcan->update();
|
||||
break;
|
||||
}
|
||||
#if HAL_PICCOLO_CAN_ENABLE
|
||||
case AP_CANManager::Driver_Type_PiccoloCAN: {
|
||||
AP_PiccoloCAN *ap_pcan = AP_PiccoloCAN::get_pcan(i);
|
||||
|
|
Loading…
Reference in New Issue