mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
BUG=none
BRANCH=ToT
TEST=manual
make BOARD=samus
for i in extra/lightbar/programs/[g-z]*.bin; do
./build/samus/util/lbcc -d $i /tmp/x.lbs
./build/samus/util/lbcc /tmp/x.lbs /tmp/x.bin
cmp $i /tmp/x.bin
done
Change-Id: I86c014c425e917ecafadd1c6845fcf2e5b4edbb7
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/220244
16 lines
424 B
C
16 lines
424 B
C
/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*
|
|
* This defines a list of lightbar opcodes for programmable sequences.
|
|
*/
|
|
#define LIGHTBAR_OPCODE_TABLE \
|
|
OP(JUMP), \
|
|
OP(DELAY), \
|
|
OP(SET_BRIGHTNESS), \
|
|
OP(SET_COLOR), \
|
|
OP(SET_DELAY_TIME), \
|
|
OP(RAMP_ONCE), \
|
|
OP(CYCLE_ONCE), \
|
|
OP(CYCLE),
|