make user presses ask other nodes for their latest status

see related bug
https://github.com/meshtastic/Meshtastic-esp32/issues/59
This commit is contained in:
geeksville
2020-03-25 13:09:12 -07:00
parent 45babab8c4
commit 50d724780a
4 changed files with 18 additions and 11 deletions

View File

@@ -344,6 +344,9 @@ static void drawNodeInfo(OLEDDisplay *display, OLEDDisplayUiState *state, int16_
float bearingToOther = bearing(p.latitude, p.longitude, op.latitude, op.longitude);
float myHeading = estimatedHeading(p.latitude, p.longitude);
headingRadian = bearingToOther - myHeading;
} else {
// Debug info for gps lock errors
// DEBUG_MSG("ourNode %d, ourPos %d, theirPos %d\n", !!ourNode, ourNode && hasPosition(ourNode), hasPosition(node));
}
const char *fields[] = {username, distStr, signalStr, lastStr, NULL};