venice1200 / MiSTer_tty2oled

👾 MiSTer Software Add-On showing Text or Pictures on a Display driven by an Arduino 👾
GNU General Public License v3.0
49 stars 10 forks source link

Update tty2oled.sh #30

Closed Paradox closed 1 year ago

Paradox commented 1 year ago

Make tty2oled take up less cpu cycles when sleeping

venice1200 commented 1 year ago

I also had the idea to use inotifywait but then SAM has to remove the sleepfile. But I saw you already added this into the scripts. Maybe better to place the "removing of the sleepfile" at the end of the exit file. After all commands. Does this work?

Paradox commented 1 year ago

Yes, it reduces the usage considerably

venice1200 commented 1 year ago

Which Branch of SAM should I use for testing.

Paradox commented 1 year ago

This is only working in named-pipes, for the moment, but, when i get a chance, I will try to backport some of this to the other branches.