ardupilot/libraries/AP_BattMonitor
Francisco Ferreira 8e6692744f
AP_BattMonitor: fix warning in UAVCAN driver
../../libraries/AP_BattMonitor/AP_BattMonitor_UAVCAN.cpp: In member function ‘virtual void AP_BattMonitor_UAVCAN::init()’:
../../libraries/AP_BattMonitor/AP_BattMonitor_UAVCAN.cpp:15:123: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘AP_Int32 {aka AP_ParamT<int, (ap_var_type)3u>}’ [-Wformat=]
 #define debug_bm_uavcan(level, fmt, args...) do { if ((level) <= AP_BoardConfig_CAN::get_can_debug()) { printf(fmt, ##args); }} while (0)
                                                                                                                           ^
../../libraries/AP_BattMonitor/AP_BattMonitor_UAVCAN.cpp:36:33: note: in expansion of macro ‘debug_bm_uavcan’
                                 debug_bm_uavcan(2, "UAVCAN BattMonitor BatteryInfo registered id: %d\n\r", _params._serial_number);
2018-08-12 13:35:02 +01:00
..
AP_BattMonitor_Analog.cpp AP_BattMonitor: NFC rename functions and variables to match their functionality 2018-03-03 17:16:34 +00:00
AP_BattMonitor_Analog.h AP_BattMonitor: Remove unused ADC include 2018-07-17 09:29:50 +10:00
AP_BattMonitor_Backend.cpp AP_BattMonitor: NFC rename functions and variables to match their functionality 2018-03-03 17:16:34 +00:00
AP_BattMonitor_Backend.h AP_BattMonitor: UAVCAN battery information added 2018-03-02 11:48:00 +12:00
AP_BattMonitor_Bebop.cpp AP_BattMonitor: NFC rename functions and variables to match their functionality 2018-03-03 17:16:34 +00:00
AP_BattMonitor_Bebop.h AP_BattMonitor: Move per battery params into a containing class 2018-01-17 22:21:55 +00:00
AP_BattMonitor_BLHeliESC.cpp AP_BattMonitor: fixed ESC telem scaling 2018-07-05 09:16:50 +10:00
AP_BattMonitor_BLHeliESC.h AP_BattMonitor: changes from PR review 2018-06-19 09:36:03 +10:00
AP_BattMonitor_Params.cpp AP_BattMonitor: Remove APM doc references 2018-08-01 09:24:26 +10:00
AP_BattMonitor_Params.h AP_BattMonitor: added ESC telemetry virtual battery 2018-06-19 09:36:03 +10:00
AP_BattMonitor_SMBus_Maxell.cpp AP_BattMonitor: Aggregate the commands defined in the SMBUS specification. 2018-02-02 09:17:30 +09:00
AP_BattMonitor_SMBus_Maxell.h AP_BattMonitor: Move per battery params into a containing class 2018-01-17 22:21:55 +00:00
AP_BattMonitor_SMBus_Solo.cpp AP_BattMonitor: Aggregate the commands defined in the SMBUS specification. 2018-02-02 09:17:30 +09:00
AP_BattMonitor_SMBus_Solo.h AP_BattMonitor: Move per battery params into a containing class 2018-01-17 22:21:55 +00:00
AP_BattMonitor_SMBus.cpp AP_BattMonitor: NFC rename functions and variables to match their functionality 2018-03-03 17:16:34 +00:00
AP_BattMonitor_SMBus.h AP_BattMonitor: Aggregate the commands defined in the SMBUS specification. 2018-02-02 09:17:30 +09:00
AP_BattMonitor_UAVCAN.cpp AP_BattMonitor: fix warning in UAVCAN driver 2018-08-12 13:35:02 +01:00
AP_BattMonitor_UAVCAN.h AP_BattMonitor: UAVCAN battery information added 2018-03-02 11:48:00 +12:00
AP_BattMonitor.cpp AP_BattMonitor: Removed the need to set the battery_voltage flag 2018-08-01 09:22:09 +10:00
AP_BattMonitor.h AP_BattMonitor: NFC improve coments 2018-03-28 17:01:33 +09:00