Hi,
quick question: Is it a good idea to use
xpcc::atomic::Lock lock;
at the beginning of each and every Peripheral::initialize() method?
Since initialize is mostly called during setup, execution time is not so important, and it reduces unwanted behaviour.
What do you think? Niklas