Skip to content

Conversation

@marknolan
Copy link
Member

No description provided.

@marknolan marknolan requested a review from Copilot November 6, 2025 20:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the data sampling and streaming architecture by renaming functions and constants to better reflect their purpose, and extracts ISR logic into a separate timer-triggered function.

  • Renamed TASK_STREAMDATA to TASK_GATHER_DATA and ShimSens_streamData() to ShimSens_gatherData() for clarity
  • Extracted ISR logic into new ShimSens_sampleTimerTriggered() function
  • Introduced platform_gatherData() API for platform-specific data gathering customization
  • Changed state transition from SAMPLING_COMPLETE to SAMPLE_NOT_READY in ShimSens_saveData()

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
TaskList/shimmer_taskList.h Renamed task enum constant from TASK_STREAMDATA to TASK_GATHER_DATA
TaskList/shimmer_taskList.c Updated switch case to use renamed task constant and function
Sensing/shimmer_sensing.h Renamed function declaration and replaced ISR function with timer-triggered function
Sensing/shimmer_sensing.c Renamed data gathering function, refactored ISR into timer function, changed state assignment
SDCard/shimmer_sd_cfg_file.c Updated task constant reference in configuration read function
Platform/platform_api.h Added new weak function declaration for platform-specific data gathering
Platform/platform_api.c Implemented default weak function for platform-specific data gathering

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@marknolan marknolan requested a review from Copilot November 6, 2025 21:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@marknolan marknolan self-assigned this Nov 25, 2025
Base automatically changed from DEV-543_MCU_to_PC_SD_handover_for_mac to main November 27, 2025 08:26
@marknolan
Copy link
Member Author

closing as this is picked up in #75 and #78

@marknolan marknolan closed this Nov 27, 2025
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.

4 participants