diff options
author | Yuval Peress <peress@google.com> | 2022-07-15 14:40:30 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-04 22:35:20 +0000 |
commit | 439eed13cda46acca42fd3dfb081a3bff29a8b73 (patch) | |
tree | 4f8070e4731670c7f3cebd781dad1fbf671c5e63 /common/led_pwm.c | |
parent | 0096058366ada3cfbaf8aa3c1ffcca99d984f263 (diff) | |
download | chrome-ec-439eed13cda46acca42fd3dfb081a3bff29a8b73.tar.gz |
ec_commands: support C++ for rand_num
Update the struct edc_response_rand_num to have a size 1 which
will allow it to compile with C++. As documented, this will work
because any request using ec_params_rand_num::num_rand_bytes should
always set to at least 1.
BRANCH=none
BUG=none
TEST=zmake testall
Signed-off-by: Yuval Peress <peress@google.com>
Change-Id: I06d2a4032033797f9858aecc4c45e858d8f19339
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3765454
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'common/led_pwm.c')
0 files changed, 0 insertions, 0 deletions