AP_ToshibaCAN: fix unused variable error

This commit is contained in:
Siddharth Purohit 2020-03-07 22:04:38 +05:30 committed by Andrew Tridgell
parent 575ac9224e
commit afc0cf8f3b
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,8 @@ static const uint32_t TOSHIBA_CAN_ESC_UPDATE_MS = 100;
AP_ToshibaCAN::AP_ToshibaCAN()
{
debug_can(2, "ToshibaCAN: constructed\n\r");
(void)COMMAND_STOP;
(void)MOTOR_DATA5;
}
AP_ToshibaCAN *AP_ToshibaCAN::get_tcan(uint8_t driver_index)