diff --git a/commands.md b/commands.md index 213a119..9dd09f9 100644 --- a/commands.md +++ b/commands.md @@ -746,7 +746,7 @@ Supported signal types: Signal Type|Setting|Notes -----------|-------|----- Tachometer|TACHO|Send normal tachometer pulses to indicate rotation speed. -Locked Rotor (Alarm)|LRA,treshold_rpm,locked_signal_level|Send Locked Rotor Alarm signal, when RPM is below treshold RPM speed send the indicated signal (HIGH or LOW). +Locked Rotor (Alarm)|LRA,threshold_rpm,locked_signal_level|Send Locked Rotor Alarm signal, when RPM is below threshold RPM speed send the indicated signal (HIGH or LOW). *NOTE!* When changing RPM Mode for a mbfan (output), system must be reset before change takes effect. @@ -1167,7 +1167,7 @@ Sensor numbering: - VSENSORS: 101, 102, ... -Supporte I2C sensors: +Supported I2C sensors: Sensor Model|Possible Addresses|Description|Notes ------------|------------------|-----------|----- @@ -1910,7 +1910,7 @@ Unused flash memory: 1151488 ### SYStem:I2C? Returns status if I2C bus is active (available) currently. -Depening on board model I2C may not be available at all +Depending on board model I2C may not be available at all or may only be available if SPI is not active. Returns: diff --git a/src/command.c b/src/command.c index dea1990..3205d78 100644 --- a/src/command.c +++ b/src/command.c @@ -70,7 +70,7 @@ extern const char fanpico_credits_text[]; /** - * Exract (unsigned) number from end of command string. + * Extract (unsigned) number from end of command string. * * If string is "MBFAN3" return value is 3. * @@ -110,7 +110,7 @@ static int get_cmd_index(const char *cmd) /** - * Return ealier (sub)command string + * Return earlier (sub)command string * * If full command was "CONF:FAN2:HYST:PWM". Depth 0 returns "HYST" * and depth 1 returns "FAN2". @@ -141,7 +141,7 @@ static const char* get_prev_cmd(const struct prev_cmd_t *prev_cmd, uint depth) * If full command was "CONF:FAN3:NAME?", then depth 0 returns "FAN3" * and depth 1 returns "CONF". * - * @param prev_cmd Strucutre storing previous sub commands + * @param prev_cmd Structure storing previous sub commands * @param depth Which command to return (0=last, 1=2nd to last, ...) * * @return number extracted from specified subcommand (negative value indicates error) @@ -367,7 +367,7 @@ int cmd_version(const char *cmd, const char *args, int query, struct prev_cmd_t if (query) { printf("%s\n", credits); #ifdef __GNUC__ - printf("Compiled with: gcc v%s\n\n", __VERSION__); + printf("Compiled with: GCC v%s\n\n", __VERSION__); #endif } @@ -3278,7 +3278,7 @@ static const struct cmd_t* run_cmd(char *cmd, const struct cmd_t *cmd_level, str /** * Process command string received from user. * - * Splits command string into multiple commads by ';' character. + * Splits command string into multiple commands by ';' character. * And executes each command using run_cmd() function. * * @param state Current system state. diff --git a/src/onewire.c b/src/onewire.c index 5be064f..56857c0 100644 --- a/src/onewire.c +++ b/src/onewire.c @@ -167,7 +167,7 @@ void setup_onewire_bus() onewire_bus->ctx = pico_1wire_init(ONEWIRE_PIN, -1, true); if (!onewire_bus->ctx) { - log_msg(LOG_ERR, "1-Wire intialization failed!"); + log_msg(LOG_ERR, "1-Wire initialization failed!"); return; } onewire_scan_bus();