Change {LED,RGB}_DISABLE_TIMEOUT
to {LED,RGB}_MATRIX_TIMEOUT
(#18415)
This commit is contained in:
parent
9509dfbe39
commit
ea2819b2c2
138 changed files with 64 additions and 181 deletions
|
@ -22,7 +22,7 @@ enum states {
|
|||
#if defined(RGB_DISABLE_WITH_FADE_OUT)
|
||||
,FADE_OUT //!< before supending
|
||||
#endif
|
||||
,SUSPENDED //!< expecting to be suspended by RGB_DISABLE_TIMEOUT any time
|
||||
,SUSPENDED //!< expecting to be suspended by RGB_MATRIX_TIMEOUT any time
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -99,8 +99,8 @@ bool fade_in(const uint8_t time);
|
|||
#endif
|
||||
|
||||
#if defined(RGB_DISABLE_WITH_FADE_OUT)
|
||||
# if !defined(RGB_DISABLE_TIMEOUT)
|
||||
# warning "RGB_DISABLE_WITH_FADE_OUT expects RGB_DISABLE_TIMEOUT to be defined"
|
||||
# if !defined(RGB_MATRIX_TIMEOUT)
|
||||
# warning "RGB_DISABLE_WITH_FADE_OUT expects RGB_MATRIX_TIMEOUT to be defined"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue