Skip to content

vl53l1x: fix VL51L1X typo in default configuration variable name.#21

Merged
nedseb merged 1 commit intomainfrom
fix/vl53l1x-typo
Mar 11, 2026
Merged

vl53l1x: fix VL51L1X typo in default configuration variable name.#21
nedseb merged 1 commit intomainfrom
fix/vl53l1x-typo

Conversation

@nedseb
Copy link
Copy Markdown
Contributor

@nedseb nedseb commented Mar 11, 2026

Closes #15

Summary

  • Rename VL51L1X_DEFAULT_CONFIGURATIONVL53L1X_DEFAULT_CONFIGURATION in device.py (declaration line 3 and usage line 109)

Test plan

  • Verify no remaining occurrences of VL51L1X
  • Variable name now matches the sensor model name (VL53L1X)

Copy link
Copy Markdown
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 fixes a typo in the vl53l1x driver by renaming the module-level default configuration constant so it matches the actual sensor model name (VL53L1X), aligning naming consistency across the driver.

Changes:

  • Rename VL51L1X_DEFAULT_CONFIGURATION to VL53L1X_DEFAULT_CONFIGURATION.
  • Update the constructor to use the renamed constant when writing the device’s default configuration.

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

Comment thread lib/vl53l1x/vl53l1x/device.py
@nedseb nedseb merged commit fb0eb83 into main Mar 11, 2026
6 checks passed
@nedseb nedseb deleted the fix/vl53l1x-typo branch March 11, 2026 10:04
@semantic-release-updater
Copy link
Copy Markdown

🎉 This PR is included in version 0.0.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vl53l1x: Fix VL51L1X typo in default configuration variable name

2 participants