summaryrefslogtreecommitdiff
path: root/board/nucleo-h743zi
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:57:11 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-30 20:51:13 +0000
commitc383ffcb79b1f056c2750b5ebabb9d7f21e1629f (patch)
treee6f9f9fa19be444aa659789ddf4599502522daa4 /board/nucleo-h743zi
parent49007151e25958afc2e3deb296b672a2d8a8f5e2 (diff)
downloadchrome-ec-c383ffcb79b1f056c2750b5ebabb9d7f21e1629f.tar.gz
board/nucleo-h743zi/board.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I808fb2934b3a454866d2911513b60782713eefb9 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728783 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/nucleo-h743zi')
-rw-r--r--board/nucleo-h743zi/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/nucleo-h743zi/board.c b/board/nucleo-h743zi/board.c
index c69a456425..0de182edcd 100644
--- a/board/nucleo-h743zi/board.c
+++ b/board/nucleo-h743zi/board.c
@@ -31,8 +31,8 @@ static void ap_deferred(void)
* in S0: SLP_S3_L is 1 and SLP_S0_L is 1.
* in S5/G3, the FP MCU should not be running.
*/
- int running = gpio_get_level(GPIO_PCH_SLP_S3_L)
- && gpio_get_level(GPIO_PCH_SLP_S0_L);
+ int running = gpio_get_level(GPIO_PCH_SLP_S3_L) &&
+ gpio_get_level(GPIO_PCH_SLP_S0_L);
if (running) { /* S0 */
disable_sleep(SLEEP_MASK_AP_RUN);