Skip to content

Commit b1e6289

Browse files
authored
Fix error in displaySize (#78)
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
1 parent 24ab85b commit b1e6289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stm32-lcd-logo/Support/Board.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ struct STM32F746Board {
5353

5454
var displaySize: Size {
5555
Size(
56-
width: STM32F746.LTDCConstants.DISPLAY_WIDTH,
57-
height: STM32F746.LTDCConstants.DISPLAY_HEIGHT)
56+
width: STM32F746.LTDCConstants.displayWidth,
57+
height: STM32F746.LTDCConstants.displayHeight)
5858
}
5959

6060
var logoLayerSize: Size {

0 commit comments

Comments
 (0)