rtc_enable_alarm(void) is static #174

Closed
opened 2021-02-21 02:22:52 -06:00 by astrorafael · 2 comments
astrorafael commented 2021-02-21 02:22:52 -06:00 (Migrated from github.com)

Hi,
When playing with the RTC, I found that, although rtc_disable_alarm() is exported in the hardware/rtc.h header file, its counterpart rtc_enable_alarm() is not. It would be a pity having to duplicate this code in my software.
This is trivial to fix, I can do an fork and pull request if necessary.

Hi, When playing with the RTC, I found that, although `rtc_disable_alarm()` is exported in the `hardware/rtc.h` header file, its counterpart `rtc_enable_alarm()` is not. It would be a pity having to duplicate this code in my software. This is trivial to fix, I can do an fork and pull request if necessary.
lurch commented 2021-02-21 05:26:38 -06:00 (Migrated from github.com)

Yeah, this also means that https://raspberrypi.github.io/pico-sdk-doxygen/group__hardware__rtc.html lists rtc_disable_alarm but doesn't list rtc_enable_alarm !

Yeah, this also means that https://raspberrypi.github.io/pico-sdk-doxygen/group__hardware__rtc.html lists `rtc_disable_alarm` but doesn't list `rtc_enable_alarm` !
lurch commented 2021-03-01 08:46:49 -06:00 (Migrated from github.com)

Fixed by #199 (this can be closed now, I dunno why GitHub didn't auto-close it?)

Fixed by #199 (this can be closed now, I dunno why GitHub didn't auto-close it?)
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk#174
No description provided.