Skip to content

Comments

Add Debug derive for ACPI types#42

Merged
kurtjd merged 1 commit intoOpenDevicePartnership:mainfrom
kurtjd:acpi-derive-debug
Feb 18, 2026
Merged

Add Debug derive for ACPI types#42
kurtjd merged 1 commit intoOpenDevicePartnership:mainfrom
kurtjd:acpi-derive-debug

Conversation

@kurtjd
Copy link
Contributor

@kurtjd kurtjd commented Feb 18, 2026

Just adds Debug to the derive list for ACPI types for easy formatting when defmt is not available.

Resolves #41

@kurtjd kurtjd self-assigned this Feb 18, 2026
Copilot AI review requested due to automatic review settings February 18, 2026 16:50
@kurtjd kurtjd requested a review from a team as a code owner February 18, 2026 16:50
@kurtjd kurtjd added the enhancement New feature or request label Feb 18, 2026
@kurtjd kurtjd enabled auto-merge February 18, 2026 16:52
@kurtjd kurtjd moved this to In review in Embedded Controller Feb 18, 2026
Copy link

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 adds Debug derive to all ACPI types in the embedded-batteries crate to improve ergonomics when using these types in std environments where defmt is not available. The change addresses issue #41 which requested Debug/Display trait derivations for types that previously only had defmt support.

Changes:

  • Added Debug to the derive list of all ACPI types (structs, enums, and newtypes)
  • Positioned Debug as the first trait in all derive lists for consistency

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

@kurtjd kurtjd merged commit c7546ba into OpenDevicePartnership:main Feb 18, 2026
9 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in Embedded Controller Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

embedded-batteries: Add Debug/Display trait derivations to types

3 participants