blob: 7eb7f820874e94eb94fb639cf101a4e5bf417a66 [file] [log] [blame]
// Copyright 2023 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "libec/get_comms_status_command.h"
namespace ec {
GetCommsStatusCommand::GetCommsStatusCommand()
: EcCommand(EC_CMD_GET_COMMS_STATUS) {}
bool GetCommsStatusCommand::IsProcessing() const {
return Resp()->flags & ec_comms_status::EC_COMMS_STATUS_PROCESSING;
}
} // namespace ec