Skip to content

fix the typos #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/basic_serial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use meshtastic::api::StreamApi;
use meshtastic::utils;

/// Set up the logger to output to stdout
/// **Note:** the invokation of this function is commented out in main by default.
/// **Note:** the invocation of this function is commented out in main by default.
fn setup_logger() -> Result<(), fern::InitError> {
fern::Dispatch::new()
.format(|out, message, record| {
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use meshtastic::api::StreamApi;
use meshtastic::utils;

/// Set up the logger to output to stdout
/// **Note:** the invokation of this function is commented out in main by default.
/// **Note:** the invocation of this function is commented out in main by default.
fn setup_logger() -> Result<(), fern::InitError> {
fern::Dispatch::new()
.format(|out, message, record| {
Expand Down
6 changes: 3 additions & 3 deletions src/connections/stream_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub struct StreamApi;
/// on the `StreamApi` struct. Once the user has called `StreamApi::connect`, the user is then expected
/// to call the `configure` method on the resulting `ConnectedStreamApi` instance. The "send" methods
/// will not be available to the user until `configure` has been called, as the device will not
/// repond to them.
/// respond to them.
///
/// This struct can either be in the `Connected`, or `Configured` state. The `Connected` state is
/// used to indicate that the user has connected to a radio, but that the device connection has not
Expand Down Expand Up @@ -749,7 +749,7 @@ impl ConnectedStreamApi<state::Configured> {
Ok(())
}

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