blob: 7ef4ed42afcdedd0f7ac3b610575c917d3703621 [file] [log] [blame]
// Copyright 2022 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/hello_command.h"
namespace ec {
HelloCommand::HelloCommand(uint32_t data) : EcCommand(EC_CMD_HELLO) {
Req()->in_data = data;
}
uint32_t HelloCommand::GetResponseData() const {
return Resp()->out_data;
}
} // namespace ec