From 78db2424bb331106c5ffd952d8e87e0f8ba5e396 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Tue, 30 May 2023 20:16:04 -0400 Subject: Version: Add version number to Testing menu --- HexBoard_V1.1.ino | 3 +++ README.md | 2 ++ 2 files changed, 5 insertions(+) diff --git a/HexBoard_V1.1.ino b/HexBoard_V1.1.ino index 524cd84..26e14b9 100644 --- a/HexBoard_V1.1.ino +++ b/HexBoard_V1.1.ino @@ -323,6 +323,8 @@ GEMItem menuItemBuzzer("Buzzer:", buzzer); // For use when testing out unfinished features GEMItem menuItemTesting("Testing", menuPageTesting); +boolean release = true; // Whether this is a release or not +GEMItem menuItemVersion("V0.1.0 ", release, GEM_READONLY); void sequencerSetup(); //Forward declaration // For enabling basic sequencer mode - not complete GEMItem menuItemSequencer("Sequencer:", sequencerMode, sequencerSetup); @@ -983,6 +985,7 @@ void setupMenu() { menuPageLayout.addMenuItem(menuItemGerhard); // Add menu items to Testing page menuPageTesting.addMenuItem(menuItemSequencer); + menuPageTesting.addMenuItem(menuItemVersion); // Specify parent menu page for the other menu pages menuPageLayout.setParentMenuPage(menuPageMain); menuPageTesting.setParentMenuPage(menuPageMain); diff --git a/README.md b/README.md index e58dd34..7cb09f7 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ or [contact Jared](mailto:jared@shapingthesilence.com) if you're interested in a The Arduino firmware is the default firmware for the HexBoard (and is what this repository contains). +[![Sourcehut Build status](https://builds.sr.ht/~earboxer/HexBoard/commits/.svg)](https://builds.sr.ht/~earboxer/HexBoard/commits/?) Nightly builds are automatically made when a commit is pushed to SourceHut. + ### Building the firmware If you want to build the firmware, -- cgit 1.4.1