Minor typo fixes. Some readability changes.

pull/327/head
Mike Coles 2023-03-05 07:30:24 -05:00 zatwierdzone przez Thomas Göttgens
rodzic b3d05ec995
commit fbfdcaab4c
4 zmienionych plików z 19 dodań i 19 usunięć

Wyświetl plik

@ -256,7 +256,7 @@ message AdminMessage {
int32 reboot_ota_seconds = 95; int32 reboot_ota_seconds = 95;
/* /*
* This message is only supported for the simulator porduino build. * This message is only supported for the simulator Portduino build.
* If received the simulator will exit successfully. * If received the simulator will exit successfully.
*/ */
bool exit_simulator = 96; bool exit_simulator = 96;

Wyświetl plik

@ -585,7 +585,7 @@ message Config {
EU_433 = 2; EU_433 = 2;
/* /*
* European Union 433mhz * European Union 868mhz
*/ */
EU_868 = 3; EU_868 = 3;
@ -698,7 +698,7 @@ message Config {
} }
/* /*
* When enabled, the `modem_preset` fields will be adheared to, else the `bandwidth`/`spread_factor`/`coding_rate` * When enabled, the `modem_preset` fields will be adhered to, else the `bandwidth`/`spread_factor`/`coding_rate`
* will be taked from their respective manually defined fields * will be taked from their respective manually defined fields
*/ */
bool use_preset = 1; bool use_preset = 1;
@ -756,7 +756,7 @@ message Config {
bool tx_enabled = 9; bool tx_enabled = 9;
/* /*
* If zero then, use default max legal continuous power (ie. something that won't * If zero, then use default max legal continuous power (ie. something that won't
* burn out the radio hardware) * burn out the radio hardware)
* In most cases you should use zero here. * In most cases you should use zero here.
* Units are in dBm. * Units are in dBm.
@ -764,9 +764,9 @@ message Config {
int32 tx_power = 10; int32 tx_power = 10;
/* /*
* This is controlling the actual hardware frequency the radio is transmitting on. * This controls the actual hardware frequency the radio transmits on.
* Most users should never need to be exposed to this field/concept. * Most users should never need to be exposed to this field/concept.
* A channel number between 1 and NUM_CHANNELS (whatever the max is in the current region). * A channel number is between 1 and NUM_CHANNELS (whatever the max is in the current region).
* If ZERO then the rule is "use the old channel name hash based * If ZERO then the rule is "use the old channel name hash based
* algorithm to derive the channel number") * algorithm to derive the channel number")
* If using the hash algorithm the channel number will be: hash(channel_name) % * If using the hash algorithm the channel number will be: hash(channel_name) %
@ -798,7 +798,7 @@ message Config {
/* /*
* For testing it is useful sometimes to force a node to never listen to * For testing it is useful sometimes to force a node to never listen to
* particular other nodes (simulating radio out of range). All nodenums listed * particular other nodes (simulating radio out of range). All nodenums listed
* in ignore_incoming will have packets they send droped on receive (by router.cpp) * in ignore_incoming will have packets they send dropped on receive (by router.cpp)
*/ */
repeated uint32 ignore_incoming = 103; repeated uint32 ignore_incoming = 103;
@ -808,17 +808,17 @@ message Config {
enum PairingMode { enum PairingMode {
/* /*
* Device generates a random pin that will be shown on the screen of the device for pairing * Device generates a random PIN that will be shown on the screen of the device for pairing
*/ */
RANDOM_PIN = 0; RANDOM_PIN = 0;
/* /*
* Device requires a specified fixed pin for pairing * Device requires a specified fixed PIN for pairing
*/ */
FIXED_PIN = 1; FIXED_PIN = 1;
/* /*
* Device requires no pin for pairing * Device requires no PIN for pairing
*/ */
NO_PIN = 2; NO_PIN = 2;
} }
@ -834,7 +834,7 @@ message Config {
PairingMode mode = 2; PairingMode mode = 2;
/* /*
* Specified pin for PairingMode.FixedPin * Specified PIN when using FIXED_PIN for PairingMode
*/ */
uint32 fixed_pin = 3; uint32 fixed_pin = 3;

Wyświetl plik

@ -39,12 +39,12 @@ message WifiConnectionStatus {
NetworkConnectionStatus status = 1; NetworkConnectionStatus status = 1;
/* /*
* WiFi access point ssid * WiFi access point SSID
*/ */
string ssid = 2; string ssid = 2;
/* /*
* Rssi of wireless connection * RSSI of wireless connection
*/ */
int32 rssi = 3; int32 rssi = 3;
} }
@ -89,12 +89,12 @@ message NetworkConnectionStatus {
*/ */
message BluetoothConnectionStatus { message BluetoothConnectionStatus {
/* /*
* The pairing pin for bluetooth * The pairing PIN for bluetooth
*/ */
uint32 pin = 1; uint32 pin = 1;
/* /*
* Rssi of bluetooth connection * RSSI of bluetooth connection
*/ */
int32 rssi = 2; int32 rssi = 2;
@ -109,7 +109,7 @@ message BluetoothConnectionStatus {
*/ */
message SerialConnectionStatus { message SerialConnectionStatus {
/* /*
* The serial baud rate * Serial baud rate
*/ */
uint32 baud = 1; uint32 baud = 1;

Wyświetl plik

@ -62,7 +62,7 @@ message DeviceState {
bool no_save = 9; bool no_save = 9;
/* /*
* Some GPSes seem to have bogus settings from the factory, so we always do one factory reset. * Some GPS receivers seem to have bogus settings from the factory, so we always do one factory reset.
*/ */
bool did_gps_reset = 11; bool did_gps_reset = 11;
@ -109,7 +109,7 @@ enum ScreenFonts {
/* /*
* This can be used for customizing the firmware distribution. If populated, * This can be used for customizing the firmware distribution. If populated,
* show a secondary bootup screen with cuatom logo and text for 2.5 seconds. * show a secondary bootup screen with custom logo and text for 2.5 seconds.
*/ */
message OEMStore { message OEMStore {
@ -124,7 +124,7 @@ message OEMStore {
uint32 oem_icon_height = 2; uint32 oem_icon_height = 2;
/* /*
* The Logo in xbm bytechar format * The Logo in XBM bytechar format
*/ */
bytes oem_icon_bits = 3; bytes oem_icon_bits = 3;