Missing header prototype for gpio_get_pad(uint gpio)

Open
#2,154 0 comments 0 reactions 1 assignee View on GitHub

@kilograham is already working on this.

Since Jan 7, 2025.

Assessment

This issue has not been assessed yet.

Description

hardware_gpio question

The function gpio_get_pad() is defined in src/rp2_common/hardware_gpio/gpio.c but is not made static or called from any place in the library so I assume it should have a prototype definition in hardware/gpio.h.

Dominant language
C
Stars
5k
Forks
1.3k
Avg merge
2d 17h
Merged PRs (30d)
17

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/pico-sdk

All issues in raspberrypi/pico-sdk

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.