motion_sense: Add required header

include/motion_lid.h is generally included by board.c in the various boards.
But include/motion_lid.h actually needs host_command.h defined or else
including it in board.c will cause a confusing error.

This probably doesn't show up on other platforms like samus and glimmer
because they define a few custom commands in board.c, but veyron
doesn't need that. motion_lid ought to just include it directly if it really
needs it.

BUG=None, see next commits in the series, they won't compile without this
TEST=See series
BRANCH=veyron

Change-Id: I42e966d891dbbcca7df484b59c9d1bb35d1357bc
Signed-off-by: Alexandru M Stan <amstan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/256696
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
This commit is contained in:
Alexandru M Stan
2015-03-05 16:48:23 -08:00
committed by ChromeOS Commit Bot
parent 7cbc5a0186
commit d0ec94203f

View File

@@ -8,6 +8,8 @@
#ifndef __CROS_EC_MOTION_LID_H
#define __CROS_EC_MOTION_LID_H
#include "host_command.h"
/* Anything outside of lid angle range [-180, 180] should work. */
#define LID_ANGLE_UNRELIABLE 500