Update fb/main.go
This commit is contained in:
parent
eca0f6a60f
commit
337ac40b60
@ -28,7 +28,7 @@ var width, height = Resolution()
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
var err error
|
var err error
|
||||||
devfb, err = os.OpenFile("/dev/fb", os.O_WRONLY, os.ModePerm)
|
devfb, err = os.OpenFile("/dev/fb0", os.O_WRONLY, os.ModePerm)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user