mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-05 21:23:58 -04:00
BattMon: fix example sketch compile error
This commit is contained in:
parent
f1f71ef605
commit
909d525206
@ -41,7 +41,7 @@ void setup() {
|
||||
|
||||
// initialise the battery monitor
|
||||
battery_mon.init();
|
||||
battery_mon.set_monitoring(AP_BATT_MONITOR_VOLTAGE_AND_CURRENT);
|
||||
battery_mon.set_monitoring(0, BattMonitor_TYPE_ANALOG_VOLTAGE_AND_CURRENT);
|
||||
|
||||
hal.scheduler->delay(1000);
|
||||
timer = hal.scheduler->millis();
|
||||
|
Loading…
Reference in New Issue
Block a user