mirror of
https://github.com/esphome/esphome.git
synced 2025-01-18 20:10:55 +00:00
parent
4c383906c4
commit
2fa8d907b3
@ -23,7 +23,7 @@ bool operator==(const GainTimePair &lhs, const GainTimePair &rhs) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool operator!=(const GainTimePair &lhs, const GainTimePair &rhs) {
|
bool operator!=(const GainTimePair &lhs, const GainTimePair &rhs) {
|
||||||
return !(lhs.gain == rhs.gain && lhs.time == rhs.time);
|
return lhs.gain != rhs.gain || lhs.time != rhs.time;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T, size_t size> T get_next(const T (&array)[size], const T val) {
|
template<typename T, size_t size> T get_next(const T (&array)[size], const T val) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user