From a69e71f663fdfb3aaf7eafc68ac81ab3eab2153c Mon Sep 17 00:00:00 2001 From: cam Date: Mon, 24 Jun 2024 14:31:17 +1200 Subject: [PATCH] Update firmware version and attiny version --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 93c77dd..5d98d9a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,8 +62,8 @@ use rp2040_hal::I2C; // NOTE: The version number here isn't important. What's important is that we increment it // when we do a release, so the tc2-agent can match against it and see if the version is correct // for the agent software. -pub const FIRMWARE_VERSION: u32 = 11; -pub const EXPECTED_ATTINY_FIRMWARE_VERSION: u8 = 12; +pub const FIRMWARE_VERSION: u32 = 12; +pub const EXPECTED_ATTINY_FIRMWARE_VERSION: u8 = 1; // Checking against the attiny Major version. // TODO Check against minor version also. const ROSC_TARGET_CLOCK_FREQ_HZ_THERMAL: u32 = 150_000_000; // got funny results at 150 for aduio seems to work better at 125