Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RSDK-4296] sleep to avoid race condition in odroid's sysfs implement…
…ation (viamrobotics#2717) Tried on an Odroid C4: without this, the kernel spews a bunch of errors and the whole process locks up (in a way that cannot be quit with control-C or backgrounded with control-Z, since it's stuck in kernelspace). With this, hardware PWM works normally. I strongly dislike sleeping to avoid race conditions, but this one isn't easily fixable without a sleep, since it has to do with how quickly things are happening in kernel space and we don't have control over which kernel our users are running.
- Loading branch information