From 87358596ff6edb90fb9d9b8a98d91370c0527ed7 Mon Sep 17 00:00:00 2001 From: blakejameson Date: Wed, 2 Apr 2025 09:28:52 -0500 Subject: [PATCH] added hardware version to info at beginning of program. Fixed typo in Makefilecomment --- Makefile | 2 +- main.py | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4685ee9..ce2861d 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ pre-commit-install: uv @$(UVX) pre-commit install > /dev/null .PHONY: sync-time -sync-time: uv ## Syncs th time from your computer to the PROVES Kit board +sync-time: uv ## Syncs the time from your computer to the PROVES Kit board $(UVX) --from git+https://github.com/proveskit/sync-time@1.0.0 sync-time .PHONY: fmt diff --git a/main.py b/main.py index 6bebdc8..aa4317e 100644 --- a/main.py +++ b/main.py @@ -19,6 +19,8 @@ except ImportError: import board +import os + import lib.pysquared.functions as functions import lib.pysquared.nvm.register as register import lib.pysquared.pysquared as pysquared @@ -40,8 +42,11 @@ colorized=False, ) -logger.info("Booting", software_version=__version__, published_date="November 19, 2024") - +logger.info( + "Booting", + hardware_version=os.uname().version, + software_version=__version__, +) loiter_time: int = 5 try: