diff options
author | Pavel Machek <pavel@ucw.cz> | 2018-10-24 22:44:39 +0200 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2018-10-25 20:47:46 +0200 |
commit | 1b50bb4d36e89fd54c14722c4ab5266ef17767ff (patch) | |
tree | 879053b37524d99afcb883a0c89e0182310a8974 /Documentation/ABI/testing/sysfs-class-led-trigger-pattern | |
parent | 8dbac65f5c181e4723586ab738b703bb23bc3f2a (diff) |
Fix pattern handling optimalization
Check for zero duration before skipping step. This fixes pattern
echo "0 1000 10 2550 0 1000" > pattern
which should do [ .-xXx-.] but does [ Xx-.]
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Suggested-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-led-trigger-pattern')
0 files changed, 0 insertions, 0 deletions