i swear it should work
This commit is contained in:
parent
39c3a411ae
commit
930ed283a2
@ -30,7 +30,8 @@ func resolution() (w int, h int) {
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
Width, Height = resolution()
|
Width, Height = resolution()
|
||||||
devfb, err := os.OpenFile("/dev/fb", os.O_WRONLY, os.ModePerm)
|
var err error
|
||||||
|
devfb, err = os.OpenFile("/dev/fb", os.O_WRONLY, os.ModePerm)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user