Browse Source

relay: constexpr is already const

pull/2508/head
Maxim Prokhorov 2 years ago
parent
commit
dfe01d1bbf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/relay.cpp

+ 1
- 1
code/espurna/relay.cpp View File

@ -581,7 +581,7 @@ struct RelayTristateHelper {
};
template <typename T>
constexpr const std::array<Enumeration<T>, 3> RelayTristateHelper<T>::Options;
constexpr std::array<Enumeration<T>, 3> RelayTristateHelper<T>::Options;
alignas(4) static constexpr char PayloadStatusOff[] PROGMEM = "off";
alignas(4) static constexpr char PayloadStatusOn[] PROGMEM = "on";


Loading…
Cancel
Save