mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-11 02:15:14 +00:00
eve: Move enums before declarations in led.c
Signed-off-by: Stefan Reinauer <reinauer@chromium.org> BUG=none BRANCH=none TEST=USE=coreboot-sdk emerge-eve chromeos-ec compiles successfully Change-Id: Ib068a935bd80ee57388ffcb707b4a2684f7b6d5a Reviewed-on: https://chromium-review.googlesource.com/592270 Commit-Ready: Stefan Reinauer <reinauer@google.com> Tested-by: Stefan Reinauer <reinauer@google.com> Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
84a952e0e8
commit
25aa1c13dd
@@ -29,17 +29,6 @@
|
||||
#define LED_FRAC_BITS 4
|
||||
#define LED_STEP_MSEC 45
|
||||
|
||||
static int led_debug;
|
||||
static int double_tap;
|
||||
static int double_tap_tick_count;
|
||||
static int led_pattern;
|
||||
static int led_ticks;
|
||||
static enum led_color led_current_color;
|
||||
|
||||
const enum ec_led_id supported_led_ids[] = {
|
||||
EC_LED_ID_LEFT_LED, EC_LED_ID_RIGHT_LED};
|
||||
const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids);
|
||||
|
||||
/* List of LED colors used */
|
||||
enum led_color {
|
||||
LED_OFF = 0,
|
||||
@@ -74,6 +63,17 @@ enum led_side {
|
||||
LED_BOTH
|
||||
};
|
||||
|
||||
static int led_debug;
|
||||
static int double_tap;
|
||||
static int double_tap_tick_count;
|
||||
static int led_pattern;
|
||||
static int led_ticks;
|
||||
static enum led_color led_current_color;
|
||||
|
||||
const enum ec_led_id supported_led_ids[] = {
|
||||
EC_LED_ID_LEFT_LED, EC_LED_ID_RIGHT_LED};
|
||||
const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids);
|
||||
|
||||
/*
|
||||
* LED patterns are described as two phases. Each phase has an associated LED
|
||||
* color and length in beats. The length of each beat is defined by the macro
|
||||
|
||||
Reference in New Issue
Block a user