mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
Renaming board veyron -> pinky
Seems that all previous boards used the subvariant specific name, and had an alias from emerge-variant_subvariant to the ec subvariant folder. BUG=chrome-os-partner:32331 BRANCH=None TEST=cd board/pinky; make clean && make -j && ../../util/flash_ec --board=pinky Change-Id: Ie6e0c977b6659687357a1b5aa2915cf0e40a5da7 Signed-off-by: Alexandru M Stan <amstan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/221904 Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
72aee5c113
commit
c5b30aa9f2
@@ -2,7 +2,7 @@
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
* Battery LED and Power LED control for Veyron
|
||||
* Battery LED and Power LED control for pinky
|
||||
*/
|
||||
|
||||
#include "gpio.h"
|
||||
@@ -66,7 +66,7 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness)
|
||||
|
||||
}
|
||||
|
||||
static void veyron_led_set_power(void)
|
||||
static void pinky_led_set_power(void)
|
||||
{
|
||||
static int power_second;
|
||||
|
||||
@@ -86,7 +86,7 @@ static void veyron_led_set_power(void)
|
||||
}
|
||||
|
||||
|
||||
static void veyron_led_set_battery(void)
|
||||
static void pinky_led_set_battery(void)
|
||||
{
|
||||
static int battery_second;
|
||||
|
||||
@@ -131,9 +131,9 @@ static void veyron_led_set_battery(void)
|
||||
static void led_second(void)
|
||||
{
|
||||
if (led_auto_control_is_enabled(EC_LED_ID_POWER_LED))
|
||||
veyron_led_set_power();
|
||||
pinky_led_set_power();
|
||||
if (led_auto_control_is_enabled(EC_LED_ID_BATTERY_LED))
|
||||
veyron_led_set_battery();
|
||||
pinky_led_set_battery();
|
||||
}
|
||||
DECLARE_HOOK(HOOK_SECOND, led_second, HOOK_PRIO_DEFAULT);
|
||||
|
||||
@@ -72,7 +72,7 @@ BOARDS_STM32=(
|
||||
samus_pd
|
||||
snow
|
||||
spring
|
||||
veyron
|
||||
pinky
|
||||
zinger
|
||||
minimuffin
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user