summaryrefslogtreecommitdiff
path: root/board/hoho/ec.tasklist
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@google.com>2015-11-10 14:21:56 -0800
committerchrome-bot <chrome-bot@chromium.org>2015-11-11 08:05:40 -0800
commitb234b9ecc7d23b6f33e452d97158326afaa4de35 (patch)
treeadc632c66654626ff5844026b90f89e1a00431d3 /board/hoho/ec.tasklist
parent92386dd91c9967f7c23941e8bc6b415fc37b3f1f (diff)
downloadchrome-ec-b234b9ecc7d23b6f33e452d97158326afaa4de35.tar.gz
pd: Cleanup PD port-to-task macros
Cleanup our port-to-task and task-to-port macros to allow cleanly adding a third port. BUG=chromium:554243 BRANCH=None TEST=Manual on glados / glados_pd. Verify that both USB-C ports are functional for charging. Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: Ib833de0dfaa9490f4de8efb08d2cdddd86d57896 Reviewed-on: https://chromium-review.googlesource.com/311785 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/hoho/ec.tasklist')
-rw-r--r--board/hoho/ec.tasklist2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hoho/ec.tasklist b/board/hoho/ec.tasklist
index d31352893c..a4c8e73391 100644
--- a/board/hoho/ec.tasklist
+++ b/board/hoho/ec.tasklist
@@ -19,4 +19,4 @@
#define CONFIG_TASK_LIST \
TASK_ALWAYS(HOOKS, hook_task, NULL, TASK_STACK_SIZE) \
TASK_ALWAYS(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \
- TASK_ALWAYS(PD, pd_task, NULL, LARGER_TASK_STACK_SIZE)
+ TASK_ALWAYS(PD_C0, pd_task, NULL, LARGER_TASK_STACK_SIZE)