diff options
author | Ben Bridle <ben@derelict.engineering> | 2024-12-16 14:41:22 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2024-12-16 14:41:45 +1300 |
commit | 5f3f80959cd76466e9a026069ab7ab88a7d944b6 (patch) | |
tree | 782fdb38955951c5e57f3512b6fb2ace664f6eb6 /Cargo.toml | |
parent | 393d4f309ba238f81d100aae409a784f82d88c15 (diff) | |
download | phosphor-5f3f80959cd76466e9a026069ab7ab88a7d944b6.zip |
Wait a minimum duration of 1ms between frames
The code to do this was already in place, but was only being run on the
very first frame of the program. Programs will now sleep if the previous
frame completed in fewer than 1 millisecond, to prevent processor time
from being wasted by a rapidly spinning program.
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions