|
|
@ -37,7 +37,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
extern const AP_HAL::HAL& hal; |
|
|
|
extern const AP_HAL::HAL& hal; |
|
|
|
|
|
|
|
|
|
|
|
#define debug_uavcan(level, fmt, args...) do { if ((level) <= AP_BoardConfig_CAN::get_can_debug()) { hal.console->printf(fmt, ##args); }} while (0) |
|
|
|
#define debug_uavcan(level_debug, fmt, args...) do { if ((level_debug) <= AP::can().get_debug_level_driver(_uavcan_i)) { hal.console->printf(fmt, ##args); }} while (0) |
|
|
|
|
|
|
|
|
|
|
|
// Translation of all messages from UAVCAN structures into AP structures is done
|
|
|
|
// Translation of all messages from UAVCAN structures into AP structures is done
|
|
|
|
// in AP_UAVCAN and not in corresponding drivers.
|
|
|
|
// in AP_UAVCAN and not in corresponding drivers.
|
|
|
|