Skip to content

aon_timer_is_running() is true on boot in SDK 2.3.1! Previously the timer would have to be started #3180

Description

@jondurrant

Pico SDK 2.3.1 on Pico 2 W
On boot the aon_timer_is_running() is reported as started, yet does not have a "current" calendar date set. Previous versions of the SDK did not have the aon timer running at boot.

Test case:

int main( void )
{
stdio_init_all();
sleep_ms(2000);

if (aon_timer_is_running())
	printf("AON Timer is running\n");

...
}

Use Case:
I check the aon_timer to see if the SNTP has sync-ed time to the Pico 2 W. The can pull calendar and time stamps from aon.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions