mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
AP_BattMonitor: Unify from print or println to printf.
This commit is contained in:
parent
78a4cab06b
commit
f18b8844bf
@ -12,7 +12,7 @@ AP_BattMonitor battery_mon;
|
|||||||
uint32_t timer;
|
uint32_t timer;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
hal.console->println("Battery monitor library test");
|
hal.console->printf("Battery monitor library test\n");
|
||||||
|
|
||||||
// set battery monitor to smbus
|
// set battery monitor to smbus
|
||||||
battery_mon.set_monitoring(0, AP_BattMonitor::BattMonitor_TYPE_SMBUS);
|
battery_mon.set_monitoring(0, AP_BattMonitor::BattMonitor_TYPE_SMBUS);
|
||||||
|
Loading…
Reference in New Issue
Block a user