Skip to content

Commit 7e0c821

Browse files
define used types before their use
Familiarizes the reader with the context of what they're about to get into.
1 parent 243354c commit 7e0c821

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/hex_boosting.proto

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ syntax = "proto3";
22

33
package helium;
44

5+
enum boosted_hex_device_type_v1 {
6+
all = 0;
7+
cbrs_indoor = 1;
8+
cbrs_outdoor = 2;
9+
wifi_indoor = 3;
10+
wifi_outdoor = 4;
11+
}
12+
513
message boosted_hex_info_v1 {
614
// The res12 h3 index of the boosted hex
715
uint64 location = 1;
@@ -33,11 +41,3 @@ message boosted_hex_update_v1 {
3341
// Details of the updated hex
3442
boosted_hex_info_v1 update = 2;
3543
}
36-
37-
enum boosted_hex_device_type_v1 {
38-
all = 0;
39-
cbrs_indoor = 1;
40-
cbrs_outdoor = 2;
41-
wifi_indoor = 3;
42-
wifi_outdoor = 4;
43-
}

0 commit comments

Comments
 (0)