When STATUS_EXPIRE_SECONDS is 0, hide the position. (#10100)

Some users may prefer to hide the position updates on the `LIGHTWEIGHT_UI` altogether. This leads to an even less cluttered display (it also saves on SPI traffic and one byte of RAM).
This commit is contained in:
Scott Lahteine 2018-03-14 02:44:41 -05:00 committed by GitHub
parent 7f8984b500
commit 5c81ce2bb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 164 additions and 34 deletions

View file

@ -667,6 +667,9 @@
* Since LIGHTWEIGHT_UI has limited space, the position and status
* message occupy the same line. Set STATUS_EXPIRE_SECONDS to the
* length of time to display the status message before clearing.
*
* Set STATUS_EXPIRE_SECONDS to zero to never clear the status.
* This will prevent position updates from being displayed.
*/
//#define LIGHTWEIGHT_UI
#if ENABLED(LIGHTWEIGHT_UI)