Browse Source

SRV_Channel: remove ToshibaCAN support

apm_2208
Randy Mackay 3 years ago
parent
commit
2a264b0331
  1. 9
      libraries/SRV_Channel/SRV_Channels.cpp

9
libraries/SRV_Channel/SRV_Channels.cpp

@ -30,7 +30,6 @@ @@ -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() @@ -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…
Cancel
Save