Skip to content

Commit dd438dd

Browse files
committed
comment fixes
1 parent 9a5397e commit dd438dd

File tree

3 files changed

+3
-3
lines changed
  • src/rp2_common
    • hardware_pio/include/hardware
    • hardware_spi/include/hardware
    • hardware_uart/include/hardware

3 files changed

+3
-3
lines changed

src/rp2_common/hardware_pio/include/hardware/pio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ static inline void pio_gpio_init(PIO pio, uint pin) {
441441
*
442442
* \param pio The PIO instance; either \ref pio0 or \ref pio1
443443
* \param sm State machine index (0..3)
444-
* \param is_tx true for sending data to the state machine, false for received data from the state machine
444+
* \param is_tx true for sending data to the state machine, false for receiving data from the state machine
445445
*/
446446
static inline uint pio_get_dreq(PIO pio, uint sm, bool is_tx) {
447447
static_assert(DREQ_PIO0_TX1 == DREQ_PIO0_TX0 + 1, "");

src/rp2_common/hardware_spi/include/hardware/spi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ int spi_read16_blocking(spi_inst_t *spi, uint16_t repeated_tx_data, uint16_t *ds
342342
* \ingroup hardware_spi
343343
*
344344
* \param spi SPI instance specifier, either \ref spi0 or \ref spi1
345-
* \param is_tx true for sending data to the SPI instance, false for received data from the SPI instance
345+
* \param is_tx true for sending data to the SPI instance, false for receiving data from the SPI instance
346346
*/
347347
static inline uint spi_get_dreq(spi_inst_t *spi, bool is_tx) {
348348
static_assert(DREQ_SPI0_RX == DREQ_SPI0_TX + 1, "");

src/rp2_common/hardware_uart/include/hardware/uart.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ bool uart_is_readable_within_us(uart_inst_t *uart, uint32_t us);
437437
* \ingroup hardware_uart
438438
*
439439
* \param uart UART instance. \ref uart0 or \ref uart1
440-
* \param is_tx true for sending data to the UART instance, false for received data from the SPI instance
440+
* \param is_tx true for sending data to the UART instance, false for receiving data from the UART instance
441441
*/
442442
static inline uint uart_get_dreq(uart_inst_t *uart, bool is_tx) {
443443
static_assert(DREQ_UART0_RX == DREQ_UART0_TX + 1, "");

0 commit comments

Comments
 (0)