move png image to shm to avoid SD card writes
This commit is contained in:
parent
ecb4a81e23
commit
f6ab18cb26
@ -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')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user