VS-Code auto correct bugs

This commit is contained in:
Constantin Leue
2026-08-07 18:02:59 +02:00
parent 0141cdb17d
commit d149d539f9
2 changed files with 7 additions and 12 deletions
@@ -20,11 +20,10 @@ import '../msp/msp_commands.dart';
class MockFlightControllerLink implements FlightControllerLink {
MockFlightControllerLink({
List<Waypoint> initialWaypoints = const [],
int batteryCellCount = 4,
this._batteryCellCount = 4,
}) : _anchorLat = initialWaypoints.isEmpty ? 52.5 : initialWaypoints.first.lat,
_anchorLon = initialWaypoints.isEmpty ? 13.4 : initialWaypoints.first.lon,
_activeWaypointIndex = initialWaypoints.isEmpty ? null : 0,
_batteryCellCount = batteryCellCount;
_activeWaypointIndex = initialWaypoints.isEmpty ? null : 0;
double _anchorLat;
double _anchorLon;