Skip to content

Commit

Permalink
Merge pull request #25 from TheCacophonyProject/always-rezero-previous
Browse files Browse the repository at this point in the history
Always rezero previous
  • Loading branch information
gferraro authored Jan 16, 2025
2 parents ee4c5d7 + a091a62 commit 770a49d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core1_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,6 @@ pub fn core_1_task(
"Ending current recording start block {} end block{}",
cptv_start_block_index, flash_storage.last_used_block_index
);
prev_frame_2.fill(0);
event_logger.log_event(
LoggerEvent::new(
LoggerEventKind::EndedRecording,
Expand All @@ -998,6 +997,7 @@ pub fn core_1_task(
);
}
}
prev_frame_2.fill(0);

ended_recording = true;
let _ = shared_i2c
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ 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 = 14;
pub const FIRMWARE_VERSION: u32 = 15;
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: u32 = 150_000_000;

Expand Down

0 comments on commit 770a49d

Please sign in to comment.