Skip to content

Commit

Permalink
Fix error in displaySize (#78)
Browse files Browse the repository at this point in the history
HAL.swift and Board.swift had different names for display width and display height.
This change renames vars in Board.swift to have the same names as in HAL.swift
  • Loading branch information
mkbrwr authored Dec 23, 2024
1 parent 24ab85b commit b1e6289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stm32-lcd-logo/Support/Board.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ struct STM32F746Board {

var displaySize: Size {
Size(
width: STM32F746.LTDCConstants.DISPLAY_WIDTH,
height: STM32F746.LTDCConstants.DISPLAY_HEIGHT)
width: STM32F746.LTDCConstants.displayWidth,
height: STM32F746.LTDCConstants.displayHeight)
}

var logoLayerSize: Size {
Expand Down

0 comments on commit b1e6289

Please sign in to comment.