[2.1 Beta] Program 'chapter' order changed since 2.0
-
Not sure if this is in the right category:
Yesterday I changed my library to the latest Github Beta and the sketch I am finalising now ran in a different order!
Previously, the "setup" runs before "presentation". In 2.1 its the other way round! It's not a big problem for me, I can program around that with a "before" function, but a lot of people could be very confused.In my setup the sketch reads some defines to find out what sensor to present, so that's why it matters for me here.
Was this intended behaviour? Or a little oversight?
Keep up the good work!
-
Not sure if this is in the right category:
Yesterday I changed my library to the latest Github Beta and the sketch I am finalising now ran in a different order!
Previously, the "setup" runs before "presentation". In 2.1 its the other way round! It's not a big problem for me, I can program around that with a "before" function, but a lot of people could be very confused.In my setup the sketch reads some defines to find out what sensor to present, so that's why it matters for me here.
Was this intended behaviour? Or a little oversight?
Keep up the good work!
-
@DavidZH looks like an intentional change, see https://github.com/mysensors/MySensors/pull/513 for details.
Thanks! I should check Github moe often I guess. 😁
-
Thanks! I should check Github moe often I guess. 😁
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login