From 7e0c82144fdb9c81748edfbe8bcb899a1138e791 Mon Sep 17 00:00:00 2001 From: Michael Jeffrey Date: Fri, 30 Aug 2024 12:32:23 -0700 Subject: [PATCH] define used types before their use Familiarizes the reader with the context of what they're about to get into. --- src/hex_boosting.proto | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/hex_boosting.proto b/src/hex_boosting.proto index bb59927a..3062cf96 100644 --- a/src/hex_boosting.proto +++ b/src/hex_boosting.proto @@ -2,6 +2,14 @@ syntax = "proto3"; package helium; +enum boosted_hex_device_type_v1 { + all = 0; + cbrs_indoor = 1; + cbrs_outdoor = 2; + wifi_indoor = 3; + wifi_outdoor = 4; +} + message boosted_hex_info_v1 { // The res12 h3 index of the boosted hex uint64 location = 1; @@ -33,11 +41,3 @@ message boosted_hex_update_v1 { // Details of the updated hex boosted_hex_info_v1 update = 2; } - -enum boosted_hex_device_type_v1 { - all = 0; - cbrs_indoor = 1; - cbrs_outdoor = 2; - wifi_indoor = 3; - wifi_outdoor = 4; -}