Added a new UITask shutdown method to run non-board specific shutdown code. This avoids having to update all the board files for different hardware.
UITask::shutdown(bool restart = false);
Where the buzzer is available and defined, the RTTTL shutdown melody is played when the button is held down for >5s.
I was a bit remiss in removing the tone for channel message event - this puts one in.
So: DM event - plays a tone (per current)
Channel Message - new shorter tone
All others aren't defined at present. Need muting function before we get too carried away.
I was a bit remiss in removing the tone for channel message event - this puts one in.
So: DM event - plays a tone (per current)
Channel Message - new shorter tone
All others aren't defined at present. Need muting function before we get too carried away.
- Added getTextWidth method to DisplayDriver interface
- Implemented getTextWidth in all display classes
- Updated examples to use getTextWidth directly