Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[window-covering] Fix compilation error on some compilers (#16491)
OperationalStatus structure contains enum class bitfields, which on some compilers (e.g. GCC prior to 9.3) generates "is too small to hold all values of ‘enum class OperationalState’" warning. It is a default warning that cannot be suppressed. Since OperationalStatus it not stored directly in the attribute table, but it is rather used to exchange decoded components of the attribute with the application, the bitfield usage is not really valuable. Switch to normal structure members for greater portability.
- Loading branch information