Fix generic spi graphics setup - #3287
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 SummarySummary by CodeRabbitBug Fixes
WalkthroughThis change fixes two SPI display driver issues. Sleep delays now use the command size directly. Configured display height now updates ChangesSPI Display Driver Corrections
Estimated code review effort: 1 (Trivial) | ~3 minutes Merge Risk: ⚪ Minimal · up to This updates Generic SPI display sleep timing and height assignment to use the intended values. The current change corrects both behaviors with no identified merge-blocking risk. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Fixes two correctness issues in the Generic_SPI display driver so that generic SPI-based display initialization behaves as intended (sleep delays actually delay, and configured dimensions map to the correct attribute side).
Changes:
- Fix sleep-delay handling in
ProcessCommand()by removing unintended multiplication by the command enum value. - Fix
SetupDisplayAttributes()to apply configuredHeighttoAttributes.ShorterSide(and remove a stray semicolon).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
Description
Fixes two issues in Generic_SPI graphic driver.
Motivation and Context
Discovered during development. Breakout to own PR.
General improvements and bug fixes.
How Has This Been Tested?
On an ESP32_S3 Feather and Ili9488 display
Screenshots
Types of changes
Checklist