LEDscape icon indicating copy to clipboard operation
LEDscape copied to clipboard

ledscape_wait uses 100% cpu

Open mikelikespie opened this issue 10 years ago • 1 comments

I'm using an older version of LEDscape (the newer version doesn't seem to work for me).

Anyways, I was noticing that ledscape_wait (and therefore pru_wait) utilize 100% cpu.

I figured out how to use the pru interrupt stuff.

Here's a patch that will make it possible to use much less CPU:

https://github.com/mikelikespie/LEDscape/commit/64311c1a497435f8d40faa362e7078358cf7e261

Thanks, Mike

mikelikespie avatar Mar 26 '14 03:03 mikelikespie

Very nice. How come this hasn't been merged into main?

seriousmumbo avatar Oct 24 '14 21:10 seriousmumbo