added missing pullup on gpio 27
Former-commit-id: 3730f0404a513a04d16f958db70691fa73540422 Former-commit-id: 5fc1a271acc10761553f1817e16612a6f65dacd5
This commit is contained in:
parent
b110072134
commit
f052d584f1
|
@ -11,6 +11,8 @@ void init(char *title)
|
||||||
pullUpDnControl (23, PUD_UP);
|
pullUpDnControl (23, PUD_UP);
|
||||||
pinMode(22, INPUT);
|
pinMode(22, INPUT);
|
||||||
pullUpDnControl (22, PUD_UP);
|
pullUpDnControl (22, PUD_UP);
|
||||||
|
pinMode(27, INPUT);
|
||||||
|
pullUpDnControl (27, PUD_UP);
|
||||||
|
|
||||||
putenv((char*)"FRAMEBUFFER=/dev/fb1");
|
putenv((char*)"FRAMEBUFFER=/dev/fb1");
|
||||||
putenv((char*)"SDL_FBDEV=/dev/fb1");
|
putenv((char*)"SDL_FBDEV=/dev/fb1");
|
||||||
|
|
Loading…
Reference in a new issue