[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 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
MQTT-Help me understand about the MQTT Gateway.
Development • 27 days ago • dpcons 16 days ago -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
PJON and Minicore not working
Development • 7 days ago • Trand 7 days ago