Skip to content

Commit bd93608

Browse files
author
Scrap Computing
committed
Update revision numbering
1 parent 4a7adbb commit bd93608

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

firmware/src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ cmake_minimum_required(VERSION 3.13)
2424

2525
set(REVISION_MAJOR 0)
2626
set(REVISION_MINOR 3)
27+
set(REVISION_PATCH 1)
2728

2829
message("PICO_SDK_PATH = ${PICO_SDK_PATH}")
2930

firmware/src/DisplayBuffer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ void DisplayBuffer::noSignal() {
3232

3333
// Print the version at the bottom of the screen.
3434
char Version[8];
35-
snprintf(Version, 8, "v%d.%d", REVISION_MAJOR, REVISION_MINOR);
35+
snprintf(Version, 8, "v%d.%d.%d", REVISION_MAJOR, REVISION_MINOR,
36+
REVISION_PATCH);
3637
displayTxt(Version, 0, /*Center=*/false);
3738
// Special case for MDA because we print 2 pixels per byte.
3839
int DisplayWidth = TimingsTTL->Mode == TTL::MDA ? TimingsTTL->H_Visible / 2

firmware/src/config.h.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#define PROJECT_NAME "@PROJECT_NAME@"
66
#define REVISION_MAJOR @REVISION_MAJOR@
77
#define REVISION_MINOR @REVISION_MINOR@
8+
#define REVISION_PATCH @REVISION_PATCH@
89
#define PICO_DEFAULT_FREQ @PICO_DEFAULT_FREQ@
910
#define PICO_FREQ @PICO_FREQ@
1011
#define PICO_DEFAULT_VOLTAGE @PICO_DEFAULT_VOLTAGE@

0 commit comments

Comments
 (0)