summaryrefslogtreecommitdiff
path: root/board/nucleo-f412zg/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/nucleo-f412zg/board.c')
-rw-r--r--board/nucleo-f412zg/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/nucleo-f412zg/board.c b/board/nucleo-f412zg/board.c
index da3b4a3d4d..9ab9bfa190 100644
--- a/board/nucleo-f412zg/board.c
+++ b/board/nucleo-f412zg/board.c
@@ -1,4 +1,4 @@
-/* Copyright 2020 The Chromium OS Authors. All rights reserved.
+/* Copyright 2020 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -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);