Skip to content

Enhance deck data update to query DeckCtrl memories#774

Merged
gemenerik merged 1 commit intomasterfrom
rik/aboutdeckctrl
Jan 21, 2026
Merged

Enhance deck data update to query DeckCtrl memories#774
gemenerik merged 1 commit intomasterfrom
rik/aboutdeckctrl

Conversation

@gemenerik
Copy link
Member

Enhance deck data update to query both 1-Wire and DeckCtrl memories
Handle missing addr attribute for DeckCtrlElement

Requires bitcraze/crazyflie-lib-python#588

…handle missing addr attribute for DeckCtrlElement
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 pull request enhances the deck data update functionality in the About dialog to query both 1-Wire and DeckCtrl memory types for deck information, and handles the missing addr attribute for DeckCtrlElement types.

Changes:

  • Extended deck memory querying to include both TYPE_1W and TYPE_DECKCTRL memory types
  • Added graceful handling for missing addr attribute using getattr() with 'N/A' as default value

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

Copy link
Member

@ArisMorgens ArisMorgens left a comment

Choose a reason for hiding this comment

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

Looks good!

@gemenerik gemenerik merged commit f9e49dd into master Jan 21, 2026
7 checks passed
@gemenerik gemenerik deleted the rik/aboutdeckctrl branch January 21, 2026 13:42
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