Skip to content

current time is not assigned at very first time#16

Open
ericdum wants to merge 1 commit intonickrehm:masterfrom
ericdum:master
Open

current time is not assigned at very first time#16
ericdum wants to merge 1 commit intonickrehm:masterfrom
ericdum:master

Conversation

@ericdum
Copy link

@ericdum ericdum commented Jul 2, 2024

Thus, when loop() is invoked for the first time, the dt will be an unexpected value.

I just put a current_time = micros(); to the setup function.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant