Skip to content

Commit 4fc0b0b

Browse files
committed
fix the typos
1 parent f902bdc commit 4fc0b0b

File tree

4 files changed

+54
-349
lines changed

4 files changed

+54
-349
lines changed

examples/basic_serial.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use meshtastic::api::StreamApi;
1010
use meshtastic::utils;
1111

1212
/// Set up the logger to output to stdout
13-
/// **Note:** the invokation of this function is commented out in main by default.
13+
/// **Note:** the invocation of this function is commented out in main by default.
1414
fn setup_logger() -> Result<(), fern::InitError> {
1515
fern::Dispatch::new()
1616
.format(|out, message, record| {

examples/basic_tcp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use meshtastic::api::StreamApi;
1010
use meshtastic::utils;
1111

1212
/// Set up the logger to output to stdout
13-
/// **Note:** the invokation of this function is commented out in main by default.
13+
/// **Note:** the invocation of this function is commented out in main by default.
1414
fn setup_logger() -> Result<(), fern::InitError> {
1515
fern::Dispatch::new()
1616
.format(|out, message, record| {

src/connections/stream_api.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub struct StreamApi;
6161
/// on the `StreamApi` struct. Once the user has called `StreamApi::connect`, the user is then expected
6262
/// to call the `configure` method on the resulting `ConnectedStreamApi` instance. The "send" methods
6363
/// will not be available to the user until `configure` has been called, as the device will not
64-
/// repond to them.
64+
/// respond to them.
6565
///
6666
/// This struct can either be in the `Connected`, or `Configured` state. The `Connected` state is
6767
/// used to indicate that the user has connected to a radio, but that the device connection has not
@@ -749,7 +749,7 @@ impl ConnectedStreamApi<state::Configured> {
749749
Ok(())
750750
}
751751

752-
/// Sends the specified `Positon` over the mesh.
752+
/// Sends the specified `Position` over the mesh.
753753
///
754754
/// Sending a `Position` packet will update the internal position of the connected radio
755755
/// in addition to sending the packet over the mesh.
@@ -1207,7 +1207,7 @@ impl ConnectedStreamApi<state::Configured> {
12071207
/// This is a limitation of the current firmware.
12081208
///
12091209
/// **Note:** It is the responsibility of the user of this library to avoid calling
1210-
/// this method multiple times, and to avoid calling this method without first caling the
1210+
/// this method multiple times, and to avoid calling this method without first calling the
12111211
/// `start_config_transaction` method. This will result in undefined radio behavior.
12121212
///
12131213
/// # Arguments

0 commit comments

Comments
 (0)