diff --git a/.travis.yml b/.travis.yml index 0b1a939..fbd4500 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ script: - if [ -n "$TRAVIS_TAG" ]; then sed -i "s/version = \"0.0.0-snapshot\"/version = \"${TRAVIS_TAG#v}\"/g" Cargo.toml; fi - cargo install cargo-deb - cargo build --release --target=armv7-unknown-linux-musleabihf - - wget -O _releases/tc2-firmware https://github.com/TheCacophonyProject/tc2-firmware/releases/download/v0.1.1/tc2-firmware + - wget -O _releases/tc2-firmware https://github.com/TheCacophonyProject/tc2-firmware/releases/download/v0.1.2/tc2-firmware - cargo deb --target=armv7-unknown-linux-musleabihf --output tc2-agent_${TRAVIS_TAG#v}_armhf.deb deploy: diff --git a/src/main.rs b/src/main.rs index 282049c..97de11d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -49,7 +49,7 @@ use rustbus::{get_system_bus_path, DuplexConn}; use simplelog::*; const EXPECTED_RP2040_FIRMWARE_VERSION: u32 = 9; -const EXPECTED_ATTINY_FIRMWARE_VERSION: u8 = 11; +const EXPECTED_ATTINY_FIRMWARE_VERSION: u8 = 12; const SEGMENT_LENGTH: usize = 9760; const FRAME_LENGTH: usize = SEGMENT_LENGTH * 4; pub type Frame = [u8; FRAME_LENGTH];