summaryrefslogtreecommitdiff
path: root/board/glados_pd
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2015-06-03 08:30:33 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-03 18:30:41 +0000
commitb88495f7186a70e65e97923b1a13b5058f09ed70 (patch)
treec4b5bc36bde0e0a554ba41de92701afb4af86b76 /board/glados_pd
parent884a72b7529a7c156c14b988bf8f78917b49e9af (diff)
downloadchrome-ec-b88495f7186a70e65e97923b1a13b5058f09ed70.tar.gz
glados_pd: fix typo in config for PD port 1
Fix typo in usb_pd_config.h for enabling transmit on port 1. BUG=chrome-os-partner:40920 BRANCH=none TEST=make buildall Change-Id: I452920eda02ab7f612b5047b2944b16515ab828a Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/274898 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/glados_pd')
-rw-r--r--board/glados_pd/usb_pd_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/glados_pd/usb_pd_config.h b/board/glados_pd/usb_pd_config.h
index 1be7451507..d704e2a8ae 100644
--- a/board/glados_pd/usb_pd_config.h
+++ b/board/glados_pd/usb_pd_config.h
@@ -153,7 +153,7 @@ static inline void pd_tx_enable(int port, int polarity)
STM32_GPIO_MODER(GPIO_A) = (STM32_GPIO_MODER(GPIO_A)
& ~(3 << (2*0))) /* PA0 disable ADC */
| (1 << (2*0)); /* Set as GPO */
- gpio_set_level(GPIO_USB_C1_CC2_PD, 0);
+ gpio_set_level(GPIO_USB_C1_CC1_PD, 0);
}
/*