Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Free timer interrupt on Pico W when end function is called #214

Open
Adventurer21 opened this issue Sep 11, 2024 · 0 comments
Open

Free timer interrupt on Pico W when end function is called #214

Adventurer21 opened this issue Sep 11, 2024 · 0 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@Adventurer21
Copy link

Firstly, for information purposes, this library works perfectly on the RP2040 based PicoW (V1).

Now, for my request. The RP2040 has a RTC, but without a battery-backup. So I'd like the ability to query the NTP server once, during setup to use the returned value to set the RTC. No updates.

I notice that the timeClient keeps track of the current time even-though I called the end function, so the timer interrupt is still captured. Can we free that interrupt when the end function is called?

@per1234 per1234 changed the title NTPClient on the PicoW Free timer interrupt on Pico W when end function is called Sep 12, 2024
@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself labels Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants