Add deprecated attribute to some deprecated types/methods (#2185)
This commit is contained in:
1 parent
71237e2f76
commit
1c1ad32610
6 files changed
+19
-10
No files matched your search
@@ -289,6 +289,7 @@ void APIConnection::fan_command(const FanCommandRequest &msg) {
|
||||
// Prefer level
|
||||
call.set_speed(msg.speed_level);
|
||||
} else if (msg.has_speed) {
|
||||
// NOLINTNEXTLINE(clang-diagnostic-deprecated-declarations)
|
||||
call.set_speed(fan::speed_enum_to_level(static_cast<fan::FanSpeed>(msg.speed), traits.supported_speed_count()));
|
||||
}
|
||||
if (msg.has_direction)
|
||||
|
||||
Reference in new issue
Block a user