Skip to content

Commit

Permalink
Merge pull request #579 from powersjcb/optional-hops_away
Browse files Browse the repository at this point in the history
convert hops_away from required to optional
  • Loading branch information
thebentern authored Sep 17, 2024
2 parents c5108cf + 292538b commit 1e212f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meshtastic/deviceonly.proto
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ message NodeInfoLite {
/*
* Number of hops away from us this node is (0 if adjacent)
*/
uint32 hops_away = 9;
optional uint32 hops_away = 9;

/*
* True if node is in our favorites list
Expand Down
2 changes: 1 addition & 1 deletion meshtastic/mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ message NodeInfo {
/*
* Number of hops away from us this node is (0 if adjacent)
*/
uint32 hops_away = 9;
optional uint32 hops_away = 9;

/*
* True if node is in our favorites list
Expand Down

0 comments on commit 1e212f1

Please sign in to comment.