mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
move png image to shm to avoid SD card writes
This commit is contained in:
@ -62,7 +62,7 @@ if args.do_manual:
|
|||||||
|
|
||||||
core.log("detected a new session and internet connectivity!")
|
core.log("detected a new session and internet connectivity!")
|
||||||
|
|
||||||
picture = '/tmp/pwnagotchi.png'
|
picture = '/dev/shm/pwnagotchi.png'
|
||||||
|
|
||||||
display.update()
|
display.update()
|
||||||
display.image().save(picture, 'png')
|
display.image().save(picture, 'png')
|
||||||
|
Reference in New Issue
Block a user