Update fb/main.go

This commit is contained in:
XoxJlopeZi4BB 2025-01-26 07:30:58 +04:00
parent eca0f6a60f
commit 337ac40b60

View File

@ -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)
} }