Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
B Bare Metal Firmware
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Kestrel Collaboration
  • Kestrel Firmware
  • Bare Metal Firmware
  • Merge requests
  • !21

Merged
Created Aug 19, 2022 by Raptor Engineering Development Team@raptor-developmentOwner

Mark uptime counter volatile to avoid miscompilation of delay loops

  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 2

Since the uptime counter is updated in an ISR, the compiler may attempt to optimize away code that checks for an updated value.

Avoid this by marking the uptime counter as volatile.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: arctic-tern-fixes

Powered by Integricloud