diff options
author | Ted Lin <49993528+tedlinsonos@users.noreply.github.com> | 2020-02-09 23:50:45 -0500 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-02-26 10:15:12 +0900 |
commit | f3154a54facfe8ad26246d9bbe05335ba5d0f716 (patch) | |
tree | d234d51755df108becf053341f6b19e57c93db44 /drivers/oled | |
parent | ff8d9d41b84ac57f4bc4dc4237a8c8db838d7ddd (diff) |
Compile error if ONESHOT_TIMEOUT defined but oneshot disabled (#8100)
* Compile error if ONESHOT_TIMEOUT defined but oneshot disabled
When ONESHOT_TIMEOUT and NO_ACTION_ONESHOT are both defined, this code
fails to compile.
Wrap the one usage of ONESHOT_TIMEOUT that is inconsistent with the
rest so all usages are properly wrapped by a check of NO_ACTION_ONESHOT.
* Run file through clang-format
Co-authored-by: Ted M Lin <tedmlin@gmail.com>
Diffstat (limited to 'drivers/oled')
0 files changed, 0 insertions, 0 deletions