mirror of https://github.com/ArduPilot/ardupilot
AP_Periph: moved CAN_APP_NODE_NAME to AP_Periph.h
needed by battery driver
This commit is contained in:
parent
559e85df11
commit
a732f846e6
|
@ -469,6 +469,10 @@ public:
|
|||
#endif
|
||||
};
|
||||
|
||||
#ifndef CAN_APP_NODE_NAME
|
||||
#define CAN_APP_NODE_NAME "org.ardupilot." CHIBIOS_BOARD_NAME
|
||||
#endif
|
||||
|
||||
namespace AP
|
||||
{
|
||||
AP_Periph_FW& periph();
|
||||
|
|
|
@ -107,10 +107,6 @@ HAL_GPIO_PIN_TERMCAN1
|
|||
};
|
||||
#endif // CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS && defined(HAL_GPIO_PIN_TERMCAN1)
|
||||
|
||||
#ifndef CAN_APP_NODE_NAME
|
||||
#define CAN_APP_NODE_NAME "org.ardupilot." CHIBIOS_BOARD_NAME
|
||||
#endif
|
||||
|
||||
#ifndef HAL_CAN_DEFAULT_NODE_ID
|
||||
#define HAL_CAN_DEFAULT_NODE_ID CANARD_BROADCAST_NODE_ID
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue