Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resync with forks and cleanup #6

Merged
merged 4 commits into from
Oct 26, 2024
Merged

Resync with forks and cleanup #6

merged 4 commits into from
Oct 26, 2024

Conversation

NoahSprenger
Copy link
Contributor

This pull request includes several updates to the Cargo.toml files and various Rust source files to improve dependency management and refactor the codebase. The most important changes involve switching dependencies to use Git repositories, refactoring sensor data handling, and adding real-time clock (RTC) integration for message timestamps.

Dependency Management:

  • Cargo.toml: Switched stm32h7xx-hal and chrono dependencies to use Git repositories instead of specific versions. [1] [2]

Code Refactoring:

  • boards/pressure/src/data_manager.rs, boards/strain/src/data_manager.rs, boards/temperature/src/data_manager.rs: Refactored sensor data handling to use SbgData enum variants instead of SensorData directly.
  • boards/pressure/src/main.rs, boards/strain/src/main.rs, boards/temperature/src/main.rs: Added RTC integration for generating timestamps in messages. [1] [2] [3] [4] [5] [6]

Code Cleanup:

  • boards/pressure/src/main.rs, boards/strain/src/main.rs, boards/temperature/src/main.rs: Removed unused imports to clean up the codebase.

Identifier Updates:

  • boards/pressure/src/types.rs, boards/strain/src/types.rs: Changed COM_ID from Sender to Node to reflect the new naming convention. [1] [2]

Cargo.toml Outdated Show resolved Hide resolved
@NoahSprenger NoahSprenger merged commit d472a9d into master Oct 26, 2024
2 checks passed
@NoahSprenger NoahSprenger deleted the cleanup branch October 26, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants