Skip to content

Commit db7bfa2

Browse files
committed
some comment changes
1 parent 2160bc1 commit db7bfa2

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

pio/uart_rx/uart_rx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ int main() {
5252
uint offset;
5353

5454
// This will find a free pio and state machine for our program and load it for us
55-
// We use pio_claim_free_sm_and_add_program_for_gpio_range (for_gpio_range) variant
55+
// We use pio_claim_free_sm_and_add_program_for_gpio_range (for_gpio_range variant)
5656
// so we will get a PIO instance suitable for addressing gpios >= 32 if needed and supported by the hardware
5757
bool success = pio_claim_free_sm_and_add_program_for_gpio_range(&uart_rx_program, &pio, &sm, &offset, PIO_RX_PIN, 1, true);
5858
hard_assert(success);

pio/uart_rx/uart_rx_intr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ int main() {
108108
async_context_add_when_pending_worker(&async_context.core, &worker);
109109

110110
// This will find a free pio and state machine for our program and load it for us
111-
// We use pio_claim_free_sm_and_add_program_for_gpio_range (for_gpio_range) variant
111+
// We use pio_claim_free_sm_and_add_program_for_gpio_range (for_gpio_range variant)
112112
// so we will get a PIO instance suitable for addressing gpios >= 32 if needed and supported by the hardware
113113
bool success = pio_claim_free_sm_and_add_program_for_gpio_range(&uart_rx_program, &pio, &sm, &offset, PIO_RX_PIN, 1, true);
114114
hard_assert(success);

pio/uart_tx/uart_tx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ int main() {
2626
uint offset;
2727

2828
// This will find a free pio and state machine for our program and load it for us
29-
// We use pio_claim_free_sm_and_add_program_for_gpio_range (for_gpio_range) variant
29+
// We use pio_claim_free_sm_and_add_program_for_gpio_range (for_gpio_range variant)
3030
// so we will get a PIO instance suitable for addressing gpios >= 32 if needed and supported by the hardware
3131
bool success = pio_claim_free_sm_and_add_program_for_gpio_range(&uart_tx_program, &pio, &sm, &offset, PIO_TX_PIN, 1, true);
3232
hard_assert(success);

pio/ws2812/ws2812.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ int main() {
118118
uint offset;
119119

120120
// This will find a free pio and state machine for our program and load it for us
121-
// We use pio_claim_free_sm_and_add_program_for_gpio_range (for_gpio_range) variant
121+
// We use pio_claim_free_sm_and_add_program_for_gpio_range (for_gpio_range variant)
122122
// so we will get a PIO instance suitable for addressing gpios >= 32 if needed and supported by the hardware
123123
bool success = pio_claim_free_sm_and_add_program_for_gpio_range(&ws2812_program, &pio, &sm, &offset, WS2812_PIN, 1, true);
124124
hard_assert(success);

pio/ws2812/ws2812_parallel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ int main() {
290290
uint offset;
291291

292292
// This will find a free pio and state machine for our program and load it for us
293-
// We use pio_claim_free_sm_and_add_program_for_gpio_range (for_gpio_range) variant
293+
// We use pio_claim_free_sm_and_add_program_for_gpio_range (for_gpio_range variant)
294294
// so we will get a PIO instance suitable for addressing gpios >= 32 if needed and supported by the hardware
295295
bool success = pio_claim_free_sm_and_add_program_for_gpio_range(&ws2812_parallel_program, &pio, &sm, &offset, WS2812_PIN_BASE, count_of(strips), true);
296296
hard_assert(success);

0 commit comments

Comments
 (0)