about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2023-05-30 20:16:04 -0400
committerZach DeCook <zachdecook@librem.one>2023-05-30 20:16:04 -0400
commit78db2424bb331106c5ffd952d8e87e0f8ba5e396 (patch)
treef568442c4a4b3eebac9e5432a4a43e909fe89221
parentf6372f51812a38f7e24b33345532dc9663e34ac0 (diff)
downloadHexBoard-78db2424bb331106c5ffd952d8e87e0f8ba5e396.tar.gz
Version: Add version number to Testing menu
-rw-r--r--HexBoard_V1.1.ino3
-rw-r--r--README.md2
2 files changed, 5 insertions, 0 deletions
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,