Skip to content

Commit 02a948c

Browse files
authored
Merge pull request #28 from sago35/go-mod
Go mod
2 parents 171c68b + 118a771 commit 02a948c

File tree

5 files changed

+11
-13
lines changed

5 files changed

+11
-13
lines changed

go.mod

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ module github.com/sago35/koebiten
33
go 1.22.5
44

55
require (
6-
tinygo.org/x/drivers v0.29.0
6+
github.com/chewxy/math32 v1.11.1
7+
tinygo.org/x/drivers v0.33.0
78
tinygo.org/x/tinydraw v0.4.0
8-
tinygo.org/x/tinyfont v0.5.0
9+
tinygo.org/x/tinyfont v0.6.0
910
)
1011

11-
require (
12-
github.com/chewxy/math32 v1.11.1 // indirect
13-
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
14-
)
12+
require github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ github.com/chewxy/math32 v1.11.1 h1:b7PGHlp8KjylDoU8RrcEsRuGZhJuz8haxnKfuMMRqy8=
22
github.com/chewxy/math32 v1.11.1/go.mod h1:dOB2rcuFrCn6UHrze36WSLVPKtzPMRAQvBvUwkSsLqs=
33
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4=
44
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ=
5-
tinygo.org/x/drivers v0.29.0 h1:xHuq8Fr1D/D2+1V/3d+aXufqP81/CLi1itdVbrYgrE0=
6-
tinygo.org/x/drivers v0.29.0/go.mod h1:q/mU8G/wz821p8xXqbkBACOlmZFDHXd//DnYnCW+dDQ=
5+
tinygo.org/x/drivers v0.33.0 h1:5r8Ab0IxjWQi7LzYLNWpya6U4nedo9ZtxeMaAzrJTG8=
6+
tinygo.org/x/drivers v0.33.0/go.mod h1:ZdErNrApSABdVXjA1RejD67R8SNRI6RKVfYgQDZtKtk=
77
tinygo.org/x/tinydraw v0.4.0 h1:U9V0mHz8/jPShKjlh199vCfq1ARFyUOD1b+FfqIwV8c=
88
tinygo.org/x/tinydraw v0.4.0/go.mod h1:WCV/EMljTv8w04iAxjv+fRD6/4ffx0afATYeJlN90Yo=
9-
tinygo.org/x/tinyfont v0.5.0 h1:+ApIQzuUuibx/LACLnGY5MWZ/zFwed0RJAnCJCRi2bk=
10-
tinygo.org/x/tinyfont v0.5.0/go.mod h1:2mKugz6aud3EO2IIBNQ2AbDv13kRD+s7R1U1FZ21Lkw=
9+
tinygo.org/x/tinyfont v0.6.0 h1:GibXDSFz6xrWnEDkDRo6vsbOyRw0MVj/eza3zNHMSHs=
10+
tinygo.org/x/tinyfont v0.6.0/go.mod h1:onflMSkpWl7r7j4MIqhPEVV39pn7yL4N3MOePl3G+G8=

hardware/gopher-board-i2c.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (z *device) Init() error {
5454
Height: 64,
5555
})
5656
d.ClearDisplay()
57-
Display = &d
57+
Display = d
5858

5959
gpioPins = []machine.Pin{
6060
machine.GPIO4, // up

hardware/wioterminal.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (z *device) Init() error {
4848
backlight.Configure(machine.PinConfig{machine.PinOutput})
4949

5050
d := ili9341.NewSPI(
51-
*machine.SPI3,
51+
machine.SPI3,
5252
machine.LCD_DC,
5353
machine.LCD_SS_PIN,
5454
machine.LCD_RESET,

hardware/zero-kb02.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func Init() error {
9898
})
9999
d.SetRotation(drivers.Rotation180)
100100
d.ClearDisplay()
101-
Display = &d
101+
Display = d
102102

103103
gpioPins = []machine.Pin{
104104
machine.GPIO2, // rotary

0 commit comments

Comments
 (0)