Skip to content

Commit ac276fa

Browse files
authored
typo
1 parent d231891 commit ac276fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssd1331/ssd1331.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func (d *Device) FillRectangle(x, y, width, height int16, c color.RGBA) error {
152152
x >= d.width || (x+width) > d.width || y >= d.height || (y+height) > d.height {
153153
return errors.New("rectangle coordinates outside display area")
154154
}
155-
dWindow(x, y, width, height)
155+
d.setWindow(x, y, width, height)
156156
c565 := RGBATo565(c)
157157
c1 := uint8(c565 >> 8)
158158
c2 := uint8(c565)

0 commit comments

Comments
 (0)