[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!
-
@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.
-
@DavidZH you're welcome. No worries, everyone can't keep track of everything
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23 -
PJON and Minicore not working
Development • 15 days ago • Trand 15 days ago