Skip to content

Commit eed0c29

Browse files
authored
Fix possible typos (#420)
1 parent 085d5ac commit eed0c29

File tree

16 files changed

+18
-18
lines changed

16 files changed

+18
-18
lines changed

i2c/lcd_1602_i2c/lcd_1602_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/* Example code to drive a 16x2 LCD panel via a I2C bridge chip (e.g. PCF8574)
1414
1515
NOTE: The panel must be capable of being driven at 3.3v NOT 5v. The Pico
16-
GPIO (and therefor I2C) cannot be used at 5v.
16+
GPIO (and therefore I2C) cannot be used at 5v.
1717
1818
You will need to use a level shifter on the I2C lines if you want to run the
1919
board at 5v.

i2c/lis3dh_i2c/lis3dh_i2c.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/* Example code to talk to a LIS3DH Mini GPS module.
1414
15-
This example reads data from all 3 axes of the accelerometer and uses an auxillary ADC to output temperature values.
15+
This example reads data from all 3 axes of the accelerometer and uses an auxiliary ADC to output temperature values.
1616
1717
Connections on Raspberry Pi Pico board, other boards may vary.
1818
@@ -44,7 +44,7 @@ void lis3dh_init() {
4444
buf[1] = 0x80;
4545
i2c_write_blocking(i2c_default, ADDRESS, buf, 2, false);
4646

47-
// Turn auxillary ADC on
47+
// Turn auxiliary ADC on
4848
buf[0] = TEMP_CFG_REG;
4949
buf[1] = 0xC0;
5050
i2c_write_blocking(i2c_default, ADDRESS, buf, 2, false);

i2c/mcp9808_i2c/mcp9808_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
Connections on Raspberry Pi Pico board, other boards may vary.
1818
1919
GPIO PICO_DEFAULT_I2C_SDA_PIN (On Pico this is GP4 (physical pin 6)) -> SDA on MCP9808 board
20-
GPIO PICO_DEFAULT_I2C_SCK_PIN (On Pico this is GP5 (physcial pin 7)) -> SCL on MCP9808 board
20+
GPIO PICO_DEFAULT_I2C_SCK_PIN (On Pico this is GP5 (physical pin 7)) -> SCL on MCP9808 board
2121
Vsys (physical pin 39) -> VDD on MCP9808 board
2222
GND (physical pin 38) -> GND on MCP9808 board
2323

i2c/mma8451_i2c/mma8451_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
Connections on Raspberry Pi Pico board, other boards may vary.
1818
1919
GPIO PICO_DEFAULT_I2C_SDA_PIN (On Pico this is GP4 (physical pin 6)) -> SDA on MMA8451 board
20-
GPIO PICO_DEFAULT_I2C_SCK_PIN (On Pico this is GP5 (physcial pin 7)) -> SCL on MMA8451 board
20+
GPIO PICO_DEFAULT_I2C_SCK_PIN (On Pico this is GP5 (physical pin 7)) -> SCL on MMA8451 board
2121
VSYS (physical pin 39) -> VDD on MMA8451 board
2222
GND (physical pin 38) -> GND on MMA8451 board
2323

i2c/mpu6050_i2c/mpu6050_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
inbuilt FIFO to make it more useful.
1818
1919
NOTE: Ensure the device is capable of being driven at 3.3v NOT 5v. The Pico
20-
GPIO (and therefor I2C) cannot be used at 5v.
20+
GPIO (and therefore I2C) cannot be used at 5v.
2121
2222
You will need to use a level shifter on the I2C lines if you want to run the
2323
board at 5v.

i2c/pa1010d_i2c/pa1010d_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void pa1010d_parse_string(char output[], char protocol[]) {
7373
// Displays GNRMC data
7474
// Similarly, additional if statements can be used to add more protocols
7575
if (strcmp(protocol, "GNRMC") == 0) {
76-
printf("Protcol:%s\n", gps_data[0]);
76+
printf("Protocol:%s\n", gps_data[0]);
7777
printf("UTC Time: %s\n", gps_data[1]);
7878
printf("Status: %s\n", gps_data[2][0] == 'V' ? "Data invalid. GPS fix not found." : "Data Valid");
7979
printf("Latitude: %s\n", gps_data[3]);

i2c/ssd1306_i2c/ssd1306_font.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
// Vertical bitmaps, A-Z, 0-9. Each is 8 pixels high and wide
8-
// Theses are defined vertically to make them quick to copy to FB
8+
// These are defined vertically to make them quick to copy to FB
99

1010
static uint8_t font[] = {
1111
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Nothing

ide/vscode/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The example assumes:
4242
4343
3. Copy the `settings.json` file into the `.vscode` folder. This illustrates how to configure the *CMake* plugin so that you debug using *cortex-debug* instead of trying to launch the executable on the host.
4444

45-
Lauching a debug session in the workspace (e.g. with *f5*) should now build the project and if successful upload it to the target, open a debug session and pause at the start of `main()`.
45+
Launching a debug session in the workspace (e.g. with *f5*) should now build the project and if successful upload it to the target, open a debug session and pause at the start of `main()`.
4646

4747
> VSCode has some background work to do the first time through. If appears to have stalled then leave it alone for at least a minute.
4848

pico_w/wifi/access_point/dhcpserver/dhcpserver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ static void dhcp_server_process(void *arg, struct udp_pcb *upcb, struct pbuf *p,
283283

284284
opt_write_n(&opt, DHCP_OPT_SERVER_ID, 4, &ip4_addr_get_u32(ip_2_ip4(&d->ip)));
285285
opt_write_n(&opt, DHCP_OPT_SUBNET_MASK, 4, &ip4_addr_get_u32(ip_2_ip4(&d->nm)));
286-
opt_write_n(&opt, DHCP_OPT_ROUTER, 4, &ip4_addr_get_u32(ip_2_ip4(&d->ip))); // aka gateway; can have mulitple addresses
286+
opt_write_n(&opt, DHCP_OPT_ROUTER, 4, &ip4_addr_get_u32(ip_2_ip4(&d->ip))); // aka gateway; can have multiple addresses
287287
opt_write_n(&opt, DHCP_OPT_DNS, 4, &ip4_addr_get_u32(ip_2_ip4(&d->ip))); // this server is the dns
288288
opt_write_u32(&opt, DHCP_OPT_IP_LEASE_TIME, DEFAULT_LEASE_TIME_S);
289289
*opt++ = DHCP_OPT_END;

pico_w/wifi/access_point/dnsserver/dnsserver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ static void dns_server_process(void *arg, struct udp_pcb *upcb, struct pbuf *p,
202202

203203
dns_hdr->flags = lwip_htons(
204204
0x1 << 15 | // QR = response
205-
0x1 << 10 | // AA = authoritive
205+
0x1 << 10 | // AA = authoritative
206206
0x1 << 7); // RA = authenticated
207207
dns_hdr->question_count = lwip_htons(1);
208208
dns_hdr->answer_record_count = lwip_htons(1);

0 commit comments

Comments
 (0)