VS-Code auto correct bugs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user