remove batteryLevel from Position

This commit is contained in:
andrekir 2022-03-26 17:44:59 -03:00
parent 291e54c275
commit a79470b018
2 changed files with 3 additions and 10 deletions

View file

@ -10,15 +10,9 @@ import com.geeksville.mesh.Position
/// NodeDB lives inside the UIViewModel, but it needs a backpointer to reach the service
class NodeDB(private val ui: UIViewModel) {
private val testPositions = arrayOf(
Position(32.776665, -96.796989, 35, 123, 40), // dallas
Position(32.960758, -96.733521, 35, 456, 50), // richardson
Position(
32.912901,
-96.781776,
35,
789,
60
) // north dallas
Position(32.776665, -96.796989, 35, 123), // dallas
Position(32.960758, -96.733521, 35, 456), // richardson
Position(32.912901, -96.781776, 35, 789) // north dallas
)
val testNodeNoPosition = NodeInfo(